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 'html' at line 3 SQL=SELECT * FROM jos_menu WHERE id = 154.html