writeman
03-19-2007, 06:46 AM
hi All
I have three input type button which do some function.
If I press "save" or "del" button, they post data to the remote machine's php script.
How can my php script tell from which button send to it?
<form action="b01svr.php" OnSubmit="return isEmpty(this)" method="POST">
.......................
<tr><td><input type="reset" value="clear"></td></tr>
<tr><td><input type="submit" value="save"></td></tr>
<tr><td><input type="submit" value="del"></td></tr>
</form>
I have three input type button which do some function.
If I press "save" or "del" button, they post data to the remote machine's php script.
How can my php script tell from which button send to it?
<form action="b01svr.php" OnSubmit="return isEmpty(this)" method="POST">
.......................
<tr><td><input type="reset" value="clear"></td></tr>
<tr><td><input type="submit" value="save"></td></tr>
<tr><td><input type="submit" value="del"></td></tr>
</form>