Fatal error: 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 'Etete' AND s.code='NB'' at line 2: SELECT c.city_id, c.name, s.name state_name FROM cities c, states s WHERE c.state_id=s.state_id and c.name='L'Etete' AND s.code='NB' in /home/wes800/public_html/include/db.php on line 235