Re: creating errors

From: Date: Tue, 28 May 2002 15:56:26 +0000
Subject: Re: creating errors
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-19476@lists.php.net to get a copy of this message
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')'"; ed 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? Jas -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.db (#19476) next »