Re: rtfm me!
| From: | Paul Burney | Date: | Mon, 23 Oct 2000 02:52:56 +0000 |
| Subject: | Re: rtfm me! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21691@lists.php.net to get a copy of this message | ||
> I need to do the 2 password thing. When someone joins they have to
> confirm their password. I'm lost at how to make sure the passwords are
> the same. Please refer me to where i need to look in the manual.
I haven't seen it in the manual, but why not just have two fields in the
form, pass and pass_check. After the form is submitted, just compare
the two fields:
if ($pass != $pass_check) { echo "Password's don't match!";}
HTH,
Paul
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Paul Burney
Webmaster and Internet Developer
Educational Technology Unit
Graduate School of Education and Information Studies
University of California, Los Angeles
(310) 825-8365
<webmaster@gseis.ucla.edu>
<http://www.gseis.ucla.edu/>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++