Hmm can be done indeed. Use this:
if (isset ($_POST['formnumber']))
{
$formnumber = $_POST['formnumber']; }
if ($formnumber == 2){
echo "<form name=\"2\" .... >"; }
elseif ($formnumber == 3{
echo "<form name=\"3\" .... >"; }
}
else {
echo "<form name=\"1\" method=\"post\" action=\"yourfile.php?formnumber=2\">
// Form content here
<input name=\"formnumber\" type=\"submit\" id=\"formnumber\" value=\"Submit\">"; }
Replace yourfile.php with the name of the PHP file you're working in.
Replace <form name=\"2\" .... > with your 2nd form
Replace <form name=\"3\" .... > with your 3rd form
Etc.
Make sure you submit each form using the POST method and that the action points to "yourfile.php?formnumber=(next formnumber)"
Also make sure that the submit button's name is "formnumber".
Good luck.