: Undefined array key "name" in /home/kwkentz/public_html/Infost_440/final/handle_admin_add_new_parfum.php on line 14
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/kwkentz/public_html/Infost_440/final/handle_admin_add_new_parfum.php on line 14
Warning: Undefined array key "category" in /home/kwkentz/public_html/Infost_440/final/handle_admin_add_new_parfum.php on line 15
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/kwkentz/public_html/Infost_440/final/handle_admin_add_new_parfum.php on line 15
Warning: Undefined array key "price" in /home/kwkentz/public_html/Infost_440/final/handle_admin_add_new_parfum.php on line 16
Warning: Undefined array key "quantity" in /home/kwkentz/public_html/Infost_440/final/handle_admin_add_new_parfum.php on line 17
Warning: Undefined array key "description" in /home/kwkentz/public_html/Infost_440/final/handle_admin_add_new_parfum.php on line 18
INSERT INTO parfums (name,category,price,quantity,description) VALUES ('', '', '', '', '')
Fatal error: Uncaught mysqli_sql_exception: Incorrect decimal value: '' for column 'price' at row 1 in /home/kwkentz/public_html/Infost_440/final/handle_admin_add_new_parfum.php:22
Stack trace:
#0 /home/kwkentz/public_html/Infost_440/final/handle_admin_add_new_parfum.php(22): mysqli_query(Object(mysqli), 'INSERT INTO par...')
#1 {main}
thrown in /home/kwkentz/public_html/Infost_440/final/handle_admin_add_new_parfum.php on line 22