Get up to 80 % extra points for free! More info:

Discussion – Lesson 3 - Form handling and printing database data into table in PHP

Back

 

Comments
Avatar
John Dooe
Member
Avatar
John Dooe:8/8/2018 6:32

just to point something out in case you get this error

"Warning: PDOStatement::e­xecute(): SQLSTATE[HY000]: General error: 1364 Field 'articles_count' doesn't have a default value"

set the default value of "articles_count" to zero, I think it's related to the strict mode in MySQL. That's how I solved the error.

Edited 8/8/2018 6:33
Reply
8/8/2018 6:32
Life is simple, don't make it complicated.
To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

1 messages from 1 displayed.