Everything in my new website is working just fine, except that I can\'t get this piece of code to work:
$query = mysql_query(\"SELECT * FROM members WHERE userem
Everything in my new website is working just fine
...until something goes wrong.
You have to learn how to handle errors.
run all your queries at least this way.
$query = "SELECT * FROM members WHERE useremail = '$useremail'"
$result = mysql_query() or trigger_error(mysql_error()." ".$query);
and you always be notified of any error and it's reason
or implement any other way of error notifications, employing mysql_error() function which is the only thing in the world that can tell you where the actual problem is.