pw= is not valid SQL syntax. :-) <>< Ryan -----Original Message----- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 9:55 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] creating errors
I am trying to add an insert into a table and set one of the fields to a password hash, however I am recieving errors: $sql = "INSERT INTO $table_name (f_name,l_name,email_addy,un,pw) VALUES ('$f_name','$l_name','$email_addy','$un', 'pw=PASSWORD('$pw')'"; Is there any reason this would not work? Jas -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php