EG> try just:

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


Make that ... password('$pw'), without the single quotes around the
password() function.  Otherwise,  it will print it literally.



- Julie

--> Julie Meloni
--> [EMAIL PROTECTED]
--> www.thickbook.com

Find "Sams Teach Yourself MySQL in 24 Hours" at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to