Re: [PHP] Question about for
m. Henri Marc wrote: Hello, I woudlike to use a loop: for ($i=1;$i<11;$i++) But instead of incrementing with 1, I would like to increment by 2. So $i would be 1,3,5,7,9. I tried to find the answer may be with "step" but couldn't find anything. Thank you for your help. Dave Vous manquez d
RE: [PHP] Question about for
You could try for ($i=1;$i<11;$i=$i+2) -- ash young :: http://evoluted.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php