Posted by Philip Hallstrom on 10/21/58 11:26
> 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? Sure. for ($i = 1; $i <= 6; $i+=5) { -philip
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming