Database Class provides a consistent API to communicate with MySQL or Oracle Databases.
This one implements the MySQL API. Requires dbdefs.inc.php for global access data (user,pw,host,port,dbname,appname)
| Class | Description |
|---|---|
| db_MySQL | Main class definition. |
DEBUG: Debug to error_log()
DEBUG: No Debug Info
DEBUG: Debug on-screen
These defines are used in DescTable().
These defines are used in DescTable().
These defines are used in DescTable().
These defines are used in DescTable().
Connect and error handling (V0.28+).
If DBOF_SHOW_NO_ERRORS is set and an error occures, the class still reports an an error of course but the error shown is reduced in informational details to avoid showing sensible informations in a productive environment. If DBOF_SHOW_ALL_ERRORS is set the maximum possible details are shown. Set RETURN_ALL_ERRORS if you want to handle errors yourself, in this case the class returns error codes if something goes wrong.
Connect and error handling (V0.28+).
If DBOF_SHOW_NO_ERRORS is set and an error occures, the class still reports an an error of course but the error shown is reduced in informational details to avoid showing sensible informations in a productive environment. If DBOF_SHOW_ALL_ERRORS is set the maximum possible details are shown. Set RETURN_ALL_ERRORS if you want to handle errors yourself, in this case the class returns error codes if something goes wrong.
Connect and error handling (V0.28+).
If DBOF_SHOW_NO_ERRORS is set and an error occures, the class still reports an an error of course but the error shown is reduced in informational details to avoid showing sensible informations in a productive environment. If DBOF_SHOW_ALL_ERRORS is set the maximum possible details are shown. Set RETURN_ALL_ERRORS if you want to handle errors yourself, in this case the class returns error codes if something goes wrong.
Documentation generated on Sat, 07 Aug 2010 10:18:11 +0200 by phpDocumentor 1.4.3