SELECT node.title AS node_name, up1.title AS up1_name, node.id AS node_id, up1.id AS up1_id FROM content_pages AS node LEFT OUTER JOIN content_pages AS up1 ON up1.id = node.parent_id WHERE node.title = 'Buffalo Bill's Grave' AND (up1.title = 'Historic Sites' OR node.parent_id = '0') ORDER BY node_name
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 Grave' AND (up1.title = 'Historic Sites' OR node.parent_id = '0') ' at line 8 in /var/www/includes/class.db.php on line 48