I have a login form that returns the following ERROR :
You have an error in your SQL syntax; check the manual that correspond to your MySQL server version for the right syntax to use near 'as value FROM olmp_cadparaprova WHERE email =' cirillosales9 'at line 1
Code:
$sql = "SELECT * senha_para_login as senha, as valor
FROM olmp_cadparaprova
WHERE email = '$_SESSION[email]'";
Does anyone know what this is about?