RE: [PHP-DB] creating errors

From: Date: Tue, 28 May 2002 15:56:00 +0000
Subject: RE: [PHP-DB] creating errors
Groups: php.db 
Request: Send a blank email to php-db+get-19475@lists.php.net to get a copy of this message
pw= is not valid SQL syntax. :-) <>< Ryan -----Original Message----- From: Jas [mailto:jlgerfen@hotmail.com] Sent: Tuesday, May 28, 2002 9:55 AM To: php-db@lists.php.net 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

« previous php.db (#19475) next »