Fatal error: Uncaught mysqli_sql_exception: 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 ':-gutierrez-y-maip-completan-el-28 limit 1' at line 1 in /home/ascensod/public_html/mostrarNota.php:17 Stack trace: #0 /home/ascensod/public_html/mostrarNota.php(17): mysqli->query('select id from ...') #1 {main} thrown in /home/ascensod/public_html/mostrarNota.php on line 17