I want to insert multiple rows into a table using for loop, but having some errors. What is wrong in this code?
$sql=mysql_query("INSERT INTO pl_tbl (p_id,po_name,po_val) VALUES
for ($i=0;$i<$count;$i++)
{
('$id','$data['data']['name_'.$i]','$data['data']['val_'.$i]')");
}