Warning: Undefined array key "min_rating" in /home/waassad/public_html/week10/part2_searchmovie/handle_form_ratingrange.php on line 18

Warning: Undefined array key "max_rating" in /home/waassad/public_html/week10/part2_searchmovie/handle_form_ratingrange.php on line 19

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 myrating <=' at line 1 in /home/waassad/public_html/week10/part2_searchmovie/handle_form_ratingrange.php:24 Stack trace: #0 /home/waassad/public_html/week10/part2_searchmovie/handle_form_ratingrange.php(24): mysqli_query(Object(mysqli), 'SELECT * FROM m...') #1 {main} thrown in /home/waassad/public_html/week10/part2_searchmovie/handle_form_ratingrange.php on line 24