insert range between two numbers into database
Posted on 2012-08-21
I have two text fields on a page. One is "start" and the other is "end". If I input 504242 into "start" and 504282 into "end", is there a way for php to determine all the numbers in between those numbers? So, I basically want it to insert each number into a new row in the database. once I have entered those two numbers and clicked "submit" I would want the database to look like this:
all the way to 504282
Is this possible?