Hello George, Wednesday, August 3, 2005, 6:50:07 PM, you wrote: GB> $query = "INSERT INTO user (name,password) VALUES ($username","$password") $query = "INSERT INTO user (name, password) VALUES ('$username', '$password')"; And don't forget to validate your user input before slamming it directly into your database. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services Zend Certified Engineer "I do not fear computers. I fear the lack of them." - Isaac Asimov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php