did php support or allow to add many record at one time in MySql Database ?..
i need 2 add all the student mark the same time
dis is my php script form..
<?php
echo"<form name='kptm' form method='POST' action='3.php'>";
echo"<h1 align='center'> Final Mark</h1>";
echo"<table border='2'>";
echo"<p align='center'>SUBJECT : UNIX SYSTEM (TK 213)";
echo "<tr> ";
echo"<td width='20'>Num";
echo"<td width='230'> STUDENT NAME";
echo"<td width='60'> TEST 1    n/15";
echo"<td width='60'> TEST 2    n/15";
echo"<td width='70'> PROJECT    n/15";
echo"<td width='40'> QUIZ    n/5";
echo"<td width='60'> CARRY MARK     n/50";
echo"</tr>";
echo"</table>";
$i=1;
while($i<=18)
{
echo"<table border='2'>";
echo "<tr> ";
echo"<td width='20'>$i ";
echo"<td><input type='text' name='name' size='35' >";
echo"<td><input type='text' name='test1' size='6' max length='5' > ";
echo"<td><input type='text' name='test2' size='6' max length=''> ";
echo"<td><input type='text' name='project' size='7' max length='5'> ";
echo"<td><input type='text' name='quiz' size='3' max length='5 '> ";
echo"<td><input type='text' name='carrymark' size='5' > ";
echo"</tr>";
$i++;
echo"</table>";
}
echo"<p>";
echo"<p>";
echo"<p>";
echo"<p>";
echo"<p>";
echo"<p align='center'><input type='submit' value='SAVE' >";
?>
And,dis is my Sql insert statements...
<?php
$Name = $_POST["name"];
$Test1 = $_POST["test1"];
$Test2 =$_POST["test2"];
$Project = $_POST["project"];
$Quiz = $_POST["quiz"];
$Carry = $_POST["carrymark"];
$conn = mysql_connect("localhost","root","") or die ("Could Not Connect To Server");
$selection = mysql_select_db("kptm") or die ("Could Not Connect To Database");
$sql = "INSERT INTO tk213(NAME, TEST1, TEST2,PROJECT,QUIZ,CARRY)VALUES ('$Name', '$Test1', '$Test2','$Project','$Quiz','$Carry')";
$result = mysql_query($sql);
?>
plz,help me..tq..