Hello, could you help me please? I have the code below. There is a form at form.php and sends some information (name, email, age) at insert.php where is the code below. In insert.php there is also another form for addinional information but I want data from the first form and the second one to be saved at MySQL simutaneously, as if it were one single form.


$con = mysql_connect("","","");
if (!$con)
  die('Could not connect: ' . mysql_error());

mysql_select_db("", $con);

$sql="INSERT INTO table (name, email, age)

if (!mysql_query($sql,$con))
  die('Error: ' . mysql_error());
echo " 


<form action="insert.php" method="post">
my form for additional info......

Thank you in advane! :)

Just store the info of the first form in a session, and add it to the query after the second form.