Inserting multiple rows in a table using PHP
问题 I am trying to insert multiple rows into MySQL DB using PHP and HTML from. I know basic PHP and searched many examples on different forums and created one script however it doesn't seem working. Can anybody help with this. Here is my script: include_once 'include.php'; foreach($_POST['vsr'] as $row=>$vsr) { $vsr=mysql_real_escape_string($vsr); $ofice=mysql_real_escape_string($_POST['ofice'][$row]); $date=mysql_real_escape_string($_POST['date'][$row]); $type=mysql_real_escape_string($_POST[