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 'AND precioventa>1' at line 1
Fatal error: Uncaught Error: Call to a member function fetch_array() on boolean in /home/kaufenmawm/apartments-sales.com/config.php:104 Stack trace: #0 /home/kaufenmawm/apartments-sales.com/buscar.php(331): consulta_row('Select count(*)...') #1 /home/kaufenmawm/apartments-sales.com/buscar.php(585): search('en', false, 'malaga', 'el-paraiso', false, 30, 0, false, false, false, false, false, false, false, false, false, false, false, 'sale') #2 {main} thrown in /home/kaufenmawm/apartments-sales.com/config.php on line 104