Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '%20Warehousing' at line 1 in /usr/home/skrealestate/public_html/results-gallery.php:31 Stack trace: #0 /usr/home/skrealestate/public_html/results-gallery.php(31): PDO->query('SELECT DISTINCT...') #1 {main} thrown in /usr/home/skrealestate/public_html/results-gallery.php on line 31