Error in connection to DB
Hey, please see image
I'm receiving this error and I can't for the life of me figure out what is going wrong:
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ':title, content = :content WHERE id = :id' at line 1 in C:\laragon\www\H8-prikbord\backend\berichtenController.php:33 Stack trace: #0 C:\laragon\www\H8-prikbord\backend\berichtenController.php(33): PDOStatement->execute(Array) #1 {main} thrown in C:\laragon\www\H8-prikbord\backend\berichtenController.php on line 33
I'm receiving this error and I can't for the life of me figure out what is going wrong:
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ':title, content = :content WHERE id = :id' at line 1 in C:\laragon\www\H8-prikbord\backend\berichtenController.php:33 Stack trace: #0 C:\laragon\www\H8-prikbord\backend\berichtenController.php(33): PDOStatement->execute(Array) #1 {main} thrown in C:\laragon\www\H8-prikbord\backend\berichtenController.php on line 33

