I want to write script, with function to multiple insert query.
let me explain this better.
I have one quantity input in html form.
and I have MySQL query to insertregistered user into the table.
so i want my function to insert this query for “quantity” times.
mysql_query("INSERT INTO `pxlot` (realname,email,address,phone,status,regtime,ip)
VALUES ('$realname','$email','$address','$phone','0','$dateTime','$ip')")
or die (mysql_error()); // Inserts the user.
To insert this for example 3 times.
Any suggestions?
http://dev.mysql.com/doc/refman/5.5/en/insert.html