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 'order by id desc LIMIT 1' at line 1 in /home/embarcan/public_html/id_db.php:56 Stack trace: #0 /home/embarcan/public_html/id_db.php(56): mysqli_query(Object(mysqli), 'SELECT nombre_a...') #1 {main} thrown in /home/embarcan/public_html/id_db.php on line 56