Quote:
|
Originally Posted by QuietDean
The problem is 'probably' in the code that the form is submitted to, not the code itself. Try making the 'name' if the image input the same as the 'name' of the submit button.
|
<B>Works:</B>
<INPUT type=submit name=add value=\"Add User\">
<B>Does not work:</B>
<INPUT TYPE=image name=add SRC=images/buttons/add.jpg ALT=add VALUE=add>
The form is submitting to itself and I have PHP that reads through the submitted data:
if ( $this->rdata['add'] )
$this->add_user_form();
Once again, the submit button works fine, the image button does submit the 'name' to the form. Help?
Thanks!