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 's Mills' 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='Johnson's Mills' AND s.code='NB' in /home/wes800/public_html/include/db.php on line 235