View Single Post
Old 01-07-2009, 02:36 PM   #2 (permalink)
CoryMathews
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
CoryMathews is on a distinguished road
Default

By just putting a do while loop around the entire thing will make it able to repeat. Just make the while statement while ($numrows >= 1).

On a side note why don't you just make one column in the db an auto increment field that would remove all this extra making up numbers. Also this could run for quite a few queries if you were to get a large amout of the numbers added, or run forever if all of them are added.
CoryMathews is offline  
Reply With Quote