Warning: Undefined array key "first_name" in /home/jpnoonan/public_html/assignment9/handle_form.php on line 14
Warning: Undefined array key "last_name" in /home/jpnoonan/public_html/assignment9/handle_form.php on line 15
Warning: Undefined array key "email" in /home/jpnoonan/public_html/assignment9/handle_form.php on line 16
Warning: Undefined array key "donationt" in /home/jpnoonan/public_html/assignment9/handle_form.php on line 17
Warning: Undefined array key "donation" in /home/jpnoonan/public_html/assignment9/handle_form.php on line 18
Warning: Undefined array key "comments" in /home/jpnoonan/public_html/assignment9/handle_form.php on line 19
INSERT into donation (first_name, last_name, email, donationt, donation, comments) VALUES ('' , '' , SHA2('' , 256), '' , '' , '')
Fatal error: Uncaught mysqli_sql_exception: Incorrect decimal value: '' for column 'donation' at row 1 in /home/jpnoonan/public_html/assignment9/handle_form.php:28
Stack trace:
#0 /home/jpnoonan/public_html/assignment9/handle_form.php(28): mysqli_query(Object(mysqli), 'INSERT into don...')
#1 {main}
thrown in /home/jpnoonan/public_html/assignment9/handle_form.php on line 28