Open hippoduck opened 2 years ago
When using the example error handler code exactly as it is, the update works, but the error in the title appears. Not sure why this is, all other queries work fine for me, just the error handling has this issue.
$db->where('login', 'admin')->update('users', ['firstName' => 'Jack']); if ($db->getLastErrno() === 0) echo 'Update succesfull'; else echo 'Update failed. Error: '. $db->getLastError();
When using the example error handler code exactly as it is, the update works, but the error in the title appears. Not sure why this is, all other queries work fine for me, just the error handling has this issue.