I'm troubleshooting a prepared statement but I'm getting nowhere. I think this is because PDO is not generating an error.
I've called:
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
And am trying to get it to insert as follows:
$stmt = $db->prepare23423("INSERT INTO ".DB_TABLE_PREFIX."quote (email,reference,started) VALUES (:email,:reference,:started)");
As you can see, I've added some random characters to the function name to try and get it to spit out an error (at the very least it should tell me that the function doesn't exist?) but it won't. Why is that?