Is there any way with PHP to have an action (Such as a Database Insert) repeated X times within one block of code without having to refresh the page? If so, how?
Thanks!
Digi
Aug 3 2006, 02:36 AM
CODE
for( $i=0; $i < $x; $i++) { //code you want to loop }
Obviously setting x to the amount of loops + 1
Eric.
Aug 4 2006, 12:14 AM
QUOTE(Digi @ Aug 2 2006, 08:36 PM)
CODE
for( $i=0; $i < $x; $i++) { //code you want to loop }
Obviously setting x to the amount of loops + 1
Thank You!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.