Warning: Undefined array key "user_id" in /home/vang748/public_html/INFOST440/assignments/finalproject1/newcomment.php on line 15
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/vang748/public_html/INFOST440/assignments/finalproject1/newcomment.php on line 15
Warning: Undefined array key "blogpost_id" in /home/vang748/public_html/INFOST440/assignments/finalproject1/newcomment.php on line 16
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/vang748/public_html/INFOST440/assignments/finalproject1/newcomment.php on line 16
Warning: Undefined variable $comment_body in /home/vang748/public_html/INFOST440/assignments/finalproject1/newcomment.php on line 21
Fatal error: Uncaught mysqli_sql_exception: Incorrect integer value: '' for column 'comment_id' at row 1 in /home/vang748/public_html/INFOST440/assignments/finalproject1/newcomment.php:22 Stack trace: #0 /home/vang748/public_html/INFOST440/assignments/finalproject1/newcomment.php(22): mysqli_query(Object(mysqli), 'INSERT INTO com...') #1 {main} thrown in /home/vang748/public_html/INFOST440/assignments/finalproject1/newcomment.php on line 22