Attenzione errore:
SELECT * FROM `pages` where `id` =   AND `lingua` LIKE 'ITA';
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 'AND `lingua` LIKE 'ITA'' at line 1