Warning: Undefined array key "title" in /home/elliot96/public_html/final/handle_admin_add_new_movie.php on line 3
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/elliot96/public_html/final/handle_admin_add_new_movie.php on line 3
Warning: Undefined array key "director" in /home/elliot96/public_html/final/handle_admin_add_new_movie.php on line 4
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/elliot96/public_html/final/handle_admin_add_new_movie.php on line 4
Warning: Undefined array key "moviegenre" in /home/elliot96/public_html/final/handle_admin_add_new_movie.php on line 5
Warning: Undefined array key "cost" in /home/elliot96/public_html/final/handle_admin_add_new_movie.php on line 6
Warning: Undefined array key "description" in /home/elliot96/public_html/final/handle_admin_add_new_movie.php on line 7
Fatal error: Uncaught mysqli_sql_exception: Incorrect integer value: '' for column 'cost' at row 1 in /home/elliot96/public_html/final/handle_admin_add_new_movie.php:11
Stack trace:
#0 /home/elliot96/public_html/final/handle_admin_add_new_movie.php(11): mysqli_query(Object(mysqli), 'INSERT INTO mov...')
#1 {main}
thrown in /home/elliot96/public_html/final/handle_admin_add_new_movie.php on line 11