[snip] Why not: $query = "INSERT INTO user (name,password) VALUES> ('$username','$password')"; [/snip] You could do that. The reason that I don't is because of the mixing of quote types. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php