treyhunsucker
Programmer
I am currently building a database for reports and records and would like to be able to add in large amounts of data by specifying a range.
Example:
I want to insert data into unit1, unit2, unit3....all the way to unit100.
I would like to be able to do something like:
=========================================================
$unit11=$_POST['unit1'];
$unit21=$_POST['unit2'];
$unit31=$_POST['unit3'];
....
$unit1001=$_POST['unit100'];
mysql_query("INSERT INTO provisioning (unit1-unit100) VALUES ('$unit11'-'$unit1001')
=========================================================
*just to make myself clear, I want to do a range like (unit1-unit100) instead of oing (unit1, unit2, unit3....)
Example:
I want to insert data into unit1, unit2, unit3....all the way to unit100.
I would like to be able to do something like:
=========================================================
$unit11=$_POST['unit1'];
$unit21=$_POST['unit2'];
$unit31=$_POST['unit3'];
....
$unit1001=$_POST['unit100'];
mysql_query("INSERT INTO provisioning (unit1-unit100) VALUES ('$unit11'-'$unit1001')
=========================================================
*just to make myself clear, I want to do a range like (unit1-unit100) instead of oing (unit1, unit2, unit3....)