incrementing in a for loop
| From: | Peppy | Date: | Mon, 12 Sep 2005 19:39:23 +0000 |
| Subject: | incrementing in a for loop | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-222207@lists.php.net to get a copy of this message | ||
I've searched online and am unable to find how to increment by more than one in a for loop.
for ($i = 1; $i <= 6; $i++) {
Is it possible to increment $i by 5?
Thanks.