Question about for
| From: | Henri Marc | Date: | Sun, 25 Jul 2004 18:39:00 +0000 |
| Subject: | Question about for | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-191830@lists.php.net to get a copy of this message | ||
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 despace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer
instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com