Warning: include(mysqli_connect.php): Failed to open stream: No such file or directory in /home/rodri885/public_html/Infost440/inclass_searchmovies/handle_ratingrange.php on line 21
Warning: include(): Failed opening 'mysqli_connect.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/rodri885/public_html/Infost440/inclass_searchmovies/handle_ratingrange.php on line 21
Warning: Undefined array key "max_value" in /home/rodri885/public_html/Infost440/inclass_searchmovies/handle_ratingrange.php on line 23
Warning: Undefined array key "min_value" in /home/rodri885/public_html/Infost440/inclass_searchmovies/handle_ratingrange.php on line 24
SELECT * FROM products WHERE rating >= AND rating <= ;
Warning: Undefined variable $dbc in /home/rodri885/public_html/Infost440/inclass_searchmovies/handle_ratingrange.php on line 30
Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/rodri885/public_html/Infost440/inclass_searchmovies/handle_ratingrange.php:30
Stack trace:
#0 /home/rodri885/public_html/Infost440/inclass_searchmovies/handle_ratingrange.php(30): mysqli_query(NULL, 'SELECT * FROM p...')
#1 {main}
thrown in /home/rodri885/public_html/Infost440/inclass_searchmovies/handle_ratingrange.php on line 30