I use medoo mysql framework.
It works great and return error for all action like update/delete and...
But not for insert.
when I insert wrong data (or with wrong columns name), it returns 0 for last inserted id but also retrun 0000 for $database->error()
!
this is some of my settings:
error_reporting(E_ALL);
ini_set('display_errors', 1);
and
'option' => [
PDO::ATTR_CASE => PDO::CASE_NATURAL,
PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION
]
how can I force it to show errors?
I use php7.0.10 and Ampps with mysql version 5.6.31/(localhost windows10)