[PHP] Re: password why?

2001-09-04 Thread _lallous
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

[PHP] Re: password=password('$password') <----- ? help me... :P

2002-01-19 Thread LaserJetter
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

[PHP] Re: password=password('$password') <----- ? help me... :P

2002-01-19 Thread LaserJetter
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

[PHP] Re: password=password('$password') <----- ? help me... :P

2002-01-21 Thread Robert V. Zwink
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