Could you please tell me why this code does not put the data in a row ?
---------------
foreach ($_POST as $key => $value){
$sql = "INSERT INTO ir3 ($key) ";
$sql .= "VALUES ('$value')";
if (!mysql_query($sql)) {
die('Insert Row Failed!' . mysql_error());
}
$sql="";
}
}
Thanks for any help.