hi franky At first you have to take a variable like

Code:
$result1=$_POST['tot1'];
$result2=$_POST['tot2'];
[B].
.
.[/B]

$result="result";
for($i=1 $i<=5 $i++)
{
$sql=mysql_query("INSERT INTO <TAB-NAME> VALUES ('$$result[B].[/B]$i'[B],[/B].....)");

}
enjoyy..