JSHINER Posted October 2, 2007 Share Posted October 2, 2007 for ($n=0;$n<900;$n++) Counts up 1, 2, 3, etc. How can I get it to count up by 50's - 50, 100, 150, etc. Quote Link to comment https://forums.phpfreaks.com/topic/71594-solved-this-should-be-a-quickie/ Share on other sites More sharing options...
MadTechie Posted October 2, 2007 Share Posted October 2, 2007 $n++ goes up by 1 so.. $n=$n+50 goes up by 50 EDIT: typo Quote Link to comment https://forums.phpfreaks.com/topic/71594-solved-this-should-be-a-quickie/#findComment-360448 Share on other sites More sharing options...
JSHINER Posted October 2, 2007 Author Share Posted October 2, 2007 Told you it would be a quickie! Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/71594-solved-this-should-be-a-quickie/#findComment-360454 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.