Warning: Undefined array key "productName" in /home/schro624/public_html/final/handle_admin_add_new_product.php on line 3

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

Warning: Undefined array key "productPrice" in /home/schro624/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/schro624/public_html/final/handle_admin_add_new_product.php on line 4

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

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

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

Fatal error: Uncaught mysqli_sql_exception: Incorrect decimal value: '' for column 'productPrice' at row 1 in /home/schro624/public_html/final/handle_admin_add_new_product.php:11 Stack trace: #0 /home/schro624/public_html/final/handle_admin_add_new_product.php(11): mysqli_query(Object(mysqli), 'INSERT INTO pro...') #1 {main} thrown in /home/schro624/public_html/final/handle_admin_add_new_product.php on line 11