I didn't look very well at your script,
but it seems that you're calling mysql_numrows() instead of mysql_num_rows()
"Gary" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello Everybody,
> I have a script that checks if the password and password confirm are t
Try changing all the single quotes to double quotes (' to "). As far as I
know, PHP only expands the contents of the variable if it inside double
quotes, otherwise it reads it as $variable
LJ
"Hawk" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've been tr
Forget that last post - sorry!!!
Instead of using password('$password') in the query string, I would insert a
line before connecting to the DB:
$newpass = password($password)<-- dont need quotes round here
then
$query = "SELECT username,password FROM users WHERE username=$username AND
pass
confusing at first, but its worth taking the time to understand them.
Robert V. Zwink
http://www.zwink.net/daid.php
-Original Message-
From: LaserJetter [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 19, 2002 3:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: password=password('$pa
4 matches
Mail list logo