Warning: Undefined array key "min_rating" in /home/eadalton/public_html/wk11_web_apps/inclass_searchmovies/handle_ratingrange.php on line 27

Warning: Undefined array key "max_rating" in /home/eadalton/public_html/wk11_web_apps/inclass_searchmovies/handle_ratingrange.php on line 28
SELECT * FROM movies WHERE rating BETWEEN AND
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' at line 1 in /home/eadalton/public_html/wk11_web_apps/inclass_searchmovies/handle_ratingrange.php:34 Stack trace: #0 /home/eadalton/public_html/wk11_web_apps/inclass_searchmovies/handle_ratingrange.php(34): mysqli_query(Object(mysqli), 'SELECT * FROM m...') #1 {main} thrown in /home/eadalton/public_html/wk11_web_apps/inclass_searchmovies/handle_ratingrange.php on line 34