Relative Content

Tag Archive for phpmysqlapi

Does transaction able to suddenly stop mid script?

I always get an error message ‘There is no active transaction’. I already checked $connection->beginTransaction() if it works or not, and the connection began. But the try catch always catch if the transaction is not active. Here is my code