Warning: Undefined array key "title" in /home/muhamm38/public_html/ist_440/week10/handle_addmovie.php on line 13

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/muhamm38/public_html/ist_440/week10/handle_addmovie.php on line 13

Warning: Undefined array key "genre" in /home/muhamm38/public_html/ist_440/week10/handle_addmovie.php on line 14

Warning: Undefined array key "year" in /home/muhamm38/public_html/ist_440/week10/handle_addmovie.php on line 15

Warning: Undefined array key "rating" in /home/muhamm38/public_html/ist_440/week10/handle_addmovie.php on line 16

Warning: Undefined array key "link" in /home/muhamm38/public_html/ist_440/week10/handle_addmovie.php on line 17

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/muhamm38/public_html/ist_440/week10/handle_addmovie.php on line 17
INSERT into movies (title,genre, year, rating,imagelink,addeddate) VALUES ('','','', , '', NOW())
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 ', '', NOW())' at line 1 in /home/muhamm38/public_html/ist_440/week10/handle_addmovie.php:24 Stack trace: #0 /home/muhamm38/public_html/ist_440/week10/handle_addmovie.php(24): mysqli_query(Object(mysqli), 'INSERT into mov...') #1 {main} thrown in /home/muhamm38/public_html/ist_440/week10/handle_addmovie.php on line 24