|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2018-06-09 (9 months ago) ||Not yet rated by the users||Total: 124 ||All time: 8,921 This week: 556|
This class can access MySQL databases using the MySQLi extension.
It can connect to a MySQL database and execute SQL queries with the MySQLi extension.
The class provides several types of functions to run and process queries like:
- Prepare and execute arbitrary SQL queries
- Run multiple queries at once
- Manage transactions
- Get the last inserted record identifier
- Get the last error message
- Convert time and date values between different formats
- Log executed queries to a file
The class has a read-only mode that prevents it to execute SQL queries that would modify the database.
Database Access Object wrapper for PHP and MySqli in a single class
It's a simple wrapper for Mysqli
Install (using composer)
Add to composer.json the next requirement, then update composer.
Just download the file lib/DaoOne.php and save it in a folder.
Start a connection
where 127.0.0.1 is the server where is the database.
root is the user
abc.123 is the password of the user root.
sakila is the database used.
"" (optional) it could be a log file, such as c:\temp\log.txt
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.