Mohl by mi někdo poradit jak bych mohl vytvořit hromadný insert např. 10 záznamů do db
mám tento kod
<form action="#" method="post">
<INPUT TYPE="hidden" NAME="insert">
<TABLE BORDER=1 align="center">
<TR><th>č.</th><th>pid</th><th>Datum</th><TH>Žadatel</TH><TH>Výpis</TH><TH>Poplatek Kč</TH><TH>Pracoviště</TH><TH>vložil</TH></TR>
<?
include "config.php";
$datum2=Date("d.m.Y");
for($zapis=0;$zapis<=10;$zapis++){
echo'<TR><td>'.$zapis.'</td><td><input type="text" name="id[]" size="4"></td>
<TD><INPUT TYPE="TEXT" SIZE=10 NAME="datum" value='.$datum2.'></td><TD><INPUT TYPE="TEXT" NAME="zadatel[]" MAXLENGTH=50 SIZE=50></td>
<td align="center"><INPUT TYPE="TEXT" NAME="poplatek[]" MAXLENGTH=4 SIZE=4 value=""></td><td align="center">
<INPUT TYPE="TEXT" NAME="pracoviste[]" MAXLENGTH=2 SIZE=2 ></td><td><INPUT TYPE="TEXT" NAME="vlozil[]" MAXLENGTH=2 SIZE=2 ></td>';
}
?>
</table>
<p>
<center><input type=submit value=Uložit></center>
</form>