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