This is a simple class that can be used to manage MySQL database connections using PDO.
It establishes a database connection to a MySQL database. It automatically sets the connection to use buffered queries.
The class can also execute SQL queries that are automatically encapsulated in transactions.
It can also execute SQL SELECT queries and return the results into a single array within the same call.
Any SQL execution errors are catched and notified by e-mail.
The code and comments are in French. |