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('$password') - ? help me... :P
Forget that last post - sorry
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 trying
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
3 matches
Mail list logo