questa query:
codice:
$query_controllo_login_mail_password=mysql_query("SELECT id FROM users WHERE email=$_POST[email]") or die(mysql_error());
mi da quest'errore:
codice:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@agente.it' at line 1
invece questa query non mi da errori:
codice:
$query_controllo_login_mail_password=mysql_query("SELECT id FROM users WHERE password=$_POST[password]") or die(mysql_error());
sembra quasi che la @ nel campo email li dia fastidio? Qualcuno sa perche?
Grazie in anticipo