When i try to make new news on the website i get this erro:
SOLVED, Changed NULL to 0 in latestnews.php on the line it said about id.
Code:
PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'NULL' for column 'id' at row 1 in C:\xampp\htdocs\htdocs2\latestnews.php on line 232
Call Stack
# Time Memory Function Location
1 0.0002 330224 {main}( ) ..\index.php:0
2 0.0088 533992 include( 'C:\xampp\htdocs\htdocs2\latestnews.php' ) ..\index.php:63
3 0.0104 550048 PDO->query( ) ..\latestnews.php:232
SOLVED, Changed NULL to 0 in latestnews.php on the line it said about id.
Last edited: