hi, i have 4 pages. Per page has some inputs. My code is here
<form name="date" action="test2.php" method="post">
<table align="center" border="0" cellpadding="1" cellspacing="0" width="100%" style="margin-left:0px" >
<tbody>
<tr bordercolor="#333333">
<td height="10"><b>Select Date</b> <hr></td>
</tr>
<!-- radio tarih begin -->
<?
while (OCIFetch($result)) {
$tarih = ociresult($result, "TO_CHAR(TARIH,'DD/MM/YYYY')");
$counter++;
?>
<tr>
<td align="left">
<TABLE cellSpacing=1 cellPadding=5 bgColor=#d6d8d5 width="99%">
<TBODY> <TR> <TD bgColor=#e8eefa><input type="radio" <? if($counter==1) echo"checked" ?> name="date" value="<?=$date?>"><?=$tarih?> </TD> </TR> </TBODY></TABLE>
</td></tr>
<?
}
OCILogoff($conn);
?>
<tr><td ><br></td>
</tr>
<tr> <td align="center"><input type="button" value="<< Back" onClick="history.go(-1)"> <input value="Next>>" name="giris" type="submit">
</td></tr>
</tbody>
</table>
</form>
In here, "Next" Button works fine but "Back" button does not work. In perious page, i am checking if the session started and, if valied user.
So, with php (javascript does not wrok here i thought) how can i solve this problem ?