Warning: Undefined array key "title" in /home/ejazkhan/public_html/INFOST440/week10/inclass/inclass_movielogs/handle_addmovie.php on line 11
Warning: Undefined array key "genre" in /home/ejazkhan/public_html/INFOST440/week10/inclass/inclass_movielogs/handle_addmovie.php on line 12
Warning: Undefined array key "year" in /home/ejazkhan/public_html/INFOST440/week10/inclass/inclass_movielogs/handle_addmovie.php on line 13
Warning: Undefined array key "rating" in /home/ejazkhan/public_html/INFOST440/week10/inclass/inclass_movielogs/handle_addmovie.php on line 14
Warning: Undefined array key "link" in /home/ejazkhan/public_html/INFOST440/week10/inclass/inclass_movielogs/handle_addmovie.php on line 15
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/ejazkhan/public_html/INFOST440/week10/inclass/inclass_movielogs/handle_addmovie.php on line 15
Fatal error: Uncaught mysqli_sql_exception: Incorrect integer value: '' for column 'year' at row 1 in /home/ejazkhan/public_html/INFOST440/week10/inclass/inclass_movielogs/handle_addmovie.php:22
Stack trace:
#0 /home/ejazkhan/public_html/INFOST440/week10/inclass/inclass_movielogs/handle_addmovie.php(22): mysqli_query(Object(mysqli), 'INSERT into mov...')
#1 {main}
thrown in /home/ejazkhan/public_html/INFOST440/week10/inclass/inclass_movielogs/handle_addmovie.php on line 22