You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'maxprice = '19999999' AND amp;beds = '0' AND amp;baths = '0' AND (LIST_97 = 'Bur' at line 1