10-07-2018, 08:39 PM
After your insert you should be doing (nor or die):
if(!$db->error()) {
//If it went well and no errors, do stuff here
} else {
//dump your error stuff here
dump($db->errorString());
}
if(!$db->error()) {
//If it went well and no errors, do stuff here
} else {
//dump your error stuff here
dump($db->errorString());
}