Warning: Undefined array key "min_price" in /home/waassad/public_html/final/handle_form_pricerange.php on line 6

Warning: Undefined array key "max_price" in /home/waassad/public_html/final/handle_form_pricerange.php on line 7

Fatal error: Uncaught mysqli_sql_exception: 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 price <=' at line 1 in /home/waassad/public_html/final/handle_form_pricerange.php:13 Stack trace: #0 /home/waassad/public_html/final/handle_form_pricerange.php(13): mysqli_query(Object(mysqli), 'SELECT * FROM p...') #1 {main} thrown in /home/waassad/public_html/final/handle_form_pricerange.php on line 13