Warning: Undefined array key "min_rating" in /home/baoslee/public_html/final/handle_form_searchvaluerange.php on line 4

Warning: Undefined array key "max_rating" in /home/baoslee/public_html/final/handle_form_searchvaluerange.php on line 5

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/baoslee/public_html/final/handle_form_searchvaluerange.php:14 Stack trace: #0 /home/baoslee/public_html/final/handle_form_searchvaluerange.php(14): mysqli_query(Object(mysqli), 'SELECT * FROM p...') #1 {main} thrown in /home/baoslee/public_html/final/handle_form_searchvaluerange.php on line 14