try just:

$sql = "INSERT INTO $table_name (f_name,l_name,email_addy,un,pw) VALUES
('$f_name','$l_name','$email_addy','$un', 'PASSWORD('$pw')'";


At 09:55 AM 5/28/2002 -0600, Jas wrote:
>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?
>PHP Database Mailing List (
>To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to