Heureka!!
I solved it myself. I just gave the variables in the form different names for each dataset and repeatet the query for each set in the php-putter (Is there maybe a more elegant solution? Maybe I could increment the variables by an Index in a do while loop automaticaly?):
<?php
//putbank.php
include "common.inc";
$link_id = db_connect ();
$query = "INSERT INTO bank VALUES (NULL, '$date','$cheq' ,'$supplier' ,'$purchaser' , '$int_invoice_no', '$invoice_no',
'$in', '$out', '$description')";
echo "<table border=10>
<tr><td>$date</td>
<td>$cheq</td>
<td>$supplier</td>
<td>$purchaser</td>
<td>$int_invoice_no</td>
<td>$invoice_no</td>
<td>$in</td>
<td>$out</td>
<td>$description</td>
</table>";
if (!$query)
{
echo 'Entry was not successful. Please call 094 or 094 or mail to frankalbers@gmx.de';
}
else
{
echo 'Entry was successful. Thank you!';
}
$result = mysql_query ($query);
$query = "INSERT INTO bank VALUES (NULL, '$date1','$cheq1' ,'$supplier1' ,'$purchaser1' , '$int_invoice_no1', '$invoice_no1',
'$in1', '$out1', '$description1')";
echo "<table border=10>
<tr><td>$date1</td>
<td>$cheq1</td>
<td>$supplier1</td>
<td>$purchaser1</td>
<td>$int_invoice_no1</td>
<td>$invoice_no1</td>
<td>$in1</td>
<td>$out1</td>
<td>$description1</td>
</table>";
if (!$query)
{
echo 'Entry was not successful. Please call 0949 or 094 or mail to frankalbers@gmx.de';
}
else
{
echo 'Entry was successful. Thank you!';
}
$result = mysql_query ($query);
?>