Warning: Undefined array key "name" in /home/hueckst2/public_html/final/handle_admin_add_new_product.php on line 4

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hueckst2/public_html/final/handle_admin_add_new_product.php on line 4

Warning: Undefined array key "category" in /home/hueckst2/public_html/final/handle_admin_add_new_product.php on line 5

Warning: Undefined array key "price" in /home/hueckst2/public_html/final/handle_admin_add_new_product.php on line 6

Warning: Undefined array key "quantity" in /home/hueckst2/public_html/final/handle_admin_add_new_product.php on line 7

Warning: Undefined array key "description" in /home/hueckst2/public_html/final/handle_admin_add_new_product.php on line 8

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hueckst2/public_html/final/handle_admin_add_new_product.php on line 8
INSERT INTO products (name, category, price, quantity, description) VALUES ('', '', , , '')
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/hueckst2/public_html/final/handle_admin_add_new_product.php:13 Stack trace: #0 /home/hueckst2/public_html/final/handle_admin_add_new_product.php(13): mysqli_query(Object(mysqli), 'INSERT INTO pro...') #1 {main} thrown in /home/hueckst2/public_html/final/handle_admin_add_new_product.php on line 13