Databases: SQL Handling Functions
Md. Shahadat Hossain Khan Razon (contact me)
This class is a MySQL database access wrapper that can execute common SQL queries.
It can:
- Establish connections to a MySQL host and access a given database
- Execute INSERT or UPDATE SQL queries to a given table and a list of fields
- Get the last inserted identifier value
- Execute arbitrary SQL queries
- Retrieve the total number rows and result set data
- Build an SQL search condition on a specific field using the LIKE operator
- Format dates on the ISO format used by MySQL YYYY-MM-DD hh:ii:ss
Click here for detailed information about this class on phpclasses.org