Hello. I have a form with two input type submit and reset button. However, the reset button wouldn't work. I wonder why ?
Here's a piece of code:
<?php
if($submit && $string)
{
print "$string<br>";
}
?>
<body>
<form method=post>
<table align=center>
<tr>
<td>String : </td>
<td align=left><input type=text name=string value="<?php echo $string?>" size=20><br></td>
</tr>
<tr>
<td align=center><br><p><input type="submit" name="submit" value="Submit"></td>
<td align=center><br><p><input type="reset" value="Reset"></td>
</tr>
</form>
</table>
</body>