Warning: Undefined array key "first_name" in /home/jeffle/public_html/assignment9/handle_form.php on line 20

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/jeffle/public_html/assignment9/handle_form.php on line 20

Warning: Undefined array key "last_name" in /home/jeffle/public_html/assignment9/handle_form.php on line 21

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/jeffle/public_html/assignment9/handle_form.php on line 21

Warning: Undefined array key "email" in /home/jeffle/public_html/assignment9/handle_form.php on line 22

Warning: Undefined array key "donation" in /home/jeffle/public_html/assignment9/handle_form.php on line 23

Warning: Undefined array key "amount" in /home/jeffle/public_html/assignment9/handle_form.php on line 24

Warning: Undefined array key "comments" in /home/jeffle/public_html/assignment9/handle_form.php on line 25
INSERT INTO Donation (FirstName, LastName, Email, DonationType, Value, Comments, Date) VALUES ('', '', '', '', '', '', NOW())
Fatal error: Uncaught mysqli_sql_exception: Incorrect decimal value: '' for column 'Value' at row 1 in /home/jeffle/public_html/assignment9/handle_form.php:34 Stack trace: #0 /home/jeffle/public_html/assignment9/handle_form.php(34): mysqli_query(Object(mysqli), 'INSERT INTO Don...') #1 {main} thrown in /home/jeffle/public_html/assignment9/handle_form.php on line 34