Warning: Undefined array key "min_price" in /home/njtames/public_html/infost440/week10/handle_form_price.php on line 10
Warning: Undefined array key "max_price" in /home/njtames/public_html/infost440/week10/handle_form_price.php on line 11
SELECT * FROM `products` WHERE MSRP >= AND MSRP <= order by MSRP DESC
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 MSRP <= order by MSRP DESC' at line 1 in /home/njtames/public_html/infost440/week10/handle_form_price.php:17
Stack trace:
#0 /home/njtames/public_html/infost440/week10/handle_form_price.php(17): mysqli_query(Object(mysqli), 'SELECT * FROM `...')
#1 {main}
thrown in /home/njtames/public_html/infost440/week10/handle_form_price.php on line 17