Re: Validate forms into PHP file
| From: | elias | Date: | Mon, 09 Apr 2001 17:23:54 +0000 |
| Subject: | Re: Validate forms into PHP file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47736@lists.php.net to get a copy of this message | ||
You can use JavaScript to validate the fields in a form too, would be
easier.
As for PHP it's too easy, you can check fields values against whatever
condition.
ie: if (length($password) < 3) die("password too short");
-elias
http://www.kameelah.org/eassoft
""Fernando Buitrago"" <buitrago_fernando@hotmail.com> wrote in message
news:9aq09s$jck$1@toye.p.sourceforge.net...
> Hi.
>
> Tell me the steps to validate field's forms in the same PHP file, before
to
> send the result to another file.
>
> Regards
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>