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