Hi,
I need to use more that one submit button on a form (with a different value being processed).
With the TYPE="SUBMIT", everything works fine with the following code:
The problem is the fact I want to use images to submit. So I use the TYPE="IMAGE" with the following code:
That doesn't work. I cannot retreive the value information in the test2.php. (It gives me a blank value.)
Anyone can help me ?
I need to use more that one submit button on a form (with a different value being processed).
With the TYPE="SUBMIT", everything works fine with the following code:
Code:
<form action="test2.php" method="POST" name="test">
<INPUT TYPE="SUBMIT" NAME="SUBMIT1" VALUE="1">
<INPUT TYPE="SUBMIT" NAME="SUBMIT2" VALUE="2">
</form>
The problem is the fact I want to use images to submit. So I use the TYPE="IMAGE" with the following code:
Code:
<INPUT TYPE="IMAGE" src="images/btn_submit.gif" NAME="SUBMIT" value="3">
That doesn't work. I cannot retreive the value information in the test2.php. (It gives me a blank value.)
Anyone can help me ?