|
Posted by Richard Davey on 08/03/05 21:04
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
Navigation:
[Reply to this message]
|