clsDB.inc is a PHP class for making connections to a MySQL database. Its features include error checking, error logging, optional error output, email notification of errors, devel mode for a development server, and test mode for outputting the queries to a page with or without execution. It returns pertinent information when the query is run (number of records updated, insert id, etc). Results are left as a MySQL result so that they may be manipulated by any MySQL functions. The class can also perform table grooming.
|Tags||Database Front-Ends Internet Web Dynamic Content CGI Tools/Libraries Software Development Libraries|
|Operating Systems||OS Independent|
Release Notes: This version adds a flat-file logging feature, a prepValues function that will single quote all the elements of an array, and a devel mode so that a second server may be easily used for development. A test mode that sets up 4 levels of testing was implemented, and several other small features and small bugfixes have been made.