Re: using custom "button" instead of standard "submit" form element
| From: | 1LT John W. Holmes | Date: | Wed, 29 Jan 2003 11:15:09 +0000 |
| Subject: | Re: using custom "button" instead of standard "submit" form element | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133479@lists.php.net to get a copy of this message | ||
> <input type="image" name="parent" value="foo"
> src="icon.gif" />
Note that when submitted, this will make a variable $parent_x and $parent_y
with register_globals ON and $_POST['parent_x'] and $_POST['parent_y'] with
it off (or $_GET or $_REQUEST, whatever you use).
---John Holmes...