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