Quote:
Originally posted by joe_bruin wtf are you talking about?
you're supposed to quote your strings, but not identifiers. PHP Code: $query = "UPDATE users SET age='$age' WHERE username='$username'";
|
Actually, it is a good idea to use backticks on your column names, in the case you should happen to use a MySQL reserved word. I refer you to the MySQL manual section on <
reserved words>.