MY CODE IS:-
index.php:
<?PHP
if ($go == "appform") {
include ("appform.php");
}
?>
appform.php:
<?PHP If ($form=="form1") { ?>
<form name="appform1" method="post" action="index.php?go=appform&form=form2">
<input name="FullName" value="<?PHP echo $FullName;?>" type="text" id="FullName" size="30" maxlength="30">
<input type="image" src="images/btn_next-page.gif" alt="Next Page" width="104" height="25" border="0">
<?PHP } ?>
<?PHP If ($form=="form2") { ?>
<form name="appform2" method="post" action="index.php?go=appform&form=form3">
<input type="hidden" name="FullName" value="<?PHP echo $FullName;?>">
<a href="index.php?go=appform&form=form1"><img src="images/btn_prev-page.gif" alt="Previous Page" width="104" height="25" border="0"></a>
<input type="image" src="images/btn_next-page.gif" alt="Next Page" width="104" height="25" border="0">
<?PHP } ?>
- When I press the Previous and Next button. All the values that I entered were gone.
Please help! Thanks!