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 20, or whatever you wish. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php