Warning: Undefined array key "title" in /home/mapanico/public_html/infost440/week15/library/handle_admin_add_new_book.php on line 3

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/mapanico/public_html/infost440/week15/library/handle_admin_add_new_book.php on line 3

Warning: Undefined array key "author" in /home/mapanico/public_html/infost440/week15/library/handle_admin_add_new_book.php on line 4

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/mapanico/public_html/infost440/week15/library/handle_admin_add_new_book.php on line 4

Warning: Undefined array key "bookgenre" in /home/mapanico/public_html/infost440/week15/library/handle_admin_add_new_book.php on line 5

Warning: Undefined array key "bookquantity" in /home/mapanico/public_html/infost440/week15/library/handle_admin_add_new_book.php on line 6

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 ')' at line 1 in /home/mapanico/public_html/infost440/week15/library/handle_admin_add_new_book.php:10 Stack trace: #0 /home/mapanico/public_html/infost440/week15/library/handle_admin_add_new_book.php(10): mysqli_query(Object(mysqli), 'INSERT INTO boo...') #1 {main} thrown in /home/mapanico/public_html/infost440/week15/library/handle_admin_add_new_book.php on line 10