Re: Using custom "button" form element instead of standard "submit"?
| From: | Philip Olson | Date: | Thu, 30 Jan 2003 05:10:14 +0000 |
| Subject: | Re: Using custom "button" form element instead of standard "submit"? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133594@lists.php.net to get a copy of this message | ||
[snip]
> I assume i could use solution "A" above, and parse the _x out of the "name"
> value .. but this seems pretty hoaky and it's my understanding soultion B is
[snip]
This is how it's done. If this is set, the button
was clicked. For example:
if (isset($_REQUEST['thebuttonname_x'])) {
print "The button was clicked";
}
Regards,
Philip