I have a problem with a statement, and I cannot, for the life of me, figure it out. Here is the statement... NOTE: The problem I am having is not with the MySQL statement, but it is occuring in the setting of the string itself!
$sql = "SELECT user_email, user_password FROM RT_user_table WHERE user_email = '$_POST['login_emal']'";
As far as I can tell, there should be nothing wrong with the above string (and like I said, ignore any SQL errors, I am not even doing a query on it yet... The error is coming from me assigning a text value to $sql).
I tried using other variable names (in case $sql was a reserved word), I tried putting a \ character in from of the ' in case it was a control character.