Re: Re: Checking for form submission
| From: | Jason Wong | Date: | Wed, 04 Aug 2004 10:29:46 +0000 |
| Subject: | Re: Re: Checking for form submission | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192688@lists.php.net to get a copy of this message | ||
On Wednesday 04 August 2004 18:21, Craig Donnelly wrote:
> Ok, in simple form - If the submit button was clicked,
> If some one hits enter this would be a problem, easy way to resolve
> this would be to have a hidden form element flagged and to terst for that
> instead of the
> submit button, wouldnt you agree Jason?
I would simply check whether $_POST is empty(), if it isn't, assume form
submitted then do further tests/processing.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
He who is good for making excuses is seldom good for anything else.
*/