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 'minprice = '0' AND amp;maxprice = '20000000' AND amp;beds = '0' AND amp;baths = ' at line 1