Re: Running a script to check something before submitting a form. Can this be done?
| From: | Jason Wong | Date: | Fri, 31 May 2002 20:51:48 +0000 |
| Subject: | Re: Running a script to check something before submitting a form. Can this be done? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100171@lists.php.net to get a copy of this message | ||
On Saturday 01 June 2002 04:46, Don wrote:
> Hi,
>
> I think I need to use PHP here which is why I'm posting to this ng. I have
> a form that upon the user pressing submit, calls a PHP form handler. What
> I'd like to do is upon the user pressing submit, I need to validate an
> email field within a MySQL database and only if it does NOT exist, call the
> form handler. If it exists, I'll juets return a custom page and NOT call
> the form handler.
>I'm wondering if I need some JavaScript here?
No.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Bilbo's First Law:
You cannot count friends that are all packed up in barrels.
*/