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.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to