View Single Post
Old 06-26-2012, 03:50 PM   PM User | #3
JordanMRichards
New to the CF scene

 
Join Date: Jun 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
JordanMRichards is an unknown quantity at this point
Quote:
Originally Posted by DrDOS View Post
This is where you need a for loop and not a for each loop. Then you just use arithmetic modulus to initiate the next page. I use for loops almost exclusively because they're simple, controlable and dependable, both in php and javascript.
I appreciate your feedback there DrDOS. However, the foreach loop is there to deal with the Array DATA. I can't use a for loop to do that can I?

If you could give me an example of such a for loop in my script I would really appreciate it. (I am 14 years of age and sometimes It's good to have an example just to make it "stick").

Thank you.
JordanMRichards is offline   Reply With Quote