This code does not throw an error but the query fails, that is, the execute
method returns false. How could that be?
require_once(\"Abstracts/DBMana
i struggled with this silent insert fail this week. and here's the solution that worked for me. i was not calling commit on the transaction, so the insert was put into the pending state but was never completed on the database - hence no error. this was trickier because the PDR db wrapper in this project is a static class so it doesn't automatically close
solution: make sure to call commit on the PDO handle after the insert / update / delete actions - or on page close.
$PDO->exec("COMMIT;");