Re: [PHP] $i++, incrementing by 10's

2004-09-16 Thread Andrew Kreps
On Fri, 17 Sep 2004 14:07:08 +0800, Louie Miranda <[EMAIL PROTECTED]> wrote: > is it possible to increment by 10's? or 20's? > > i have this piece of code, but it selects from 1 to 1000 and counts by 1's. > for($i = 1; $i <= 1000; $i++) > Yep, just change that last part from $i++ to $i += 10, or

[PHP] $i++, incrementing by 10's

2004-09-16 Thread Louie Miranda
is it possible to increment by 10's? or 20's? i have this piece of code, but it selects from 1 to 1000 and counts by 1's. for($i = 1; $i <= 1000; $i++) -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php