This is a simple class that can connect to a MySQL database, execute an SQL query and retrieve the result set rows and the respective metadata.
The class get function executes an SQL query and returns status of success of the executed query, the number of rows, the number of columns, the total number or result cells, and the list of names of the result columns as part of the result set array. The metadata result fields are prefixed with & to avoid confusion with the result column names.
Depending on the number of rows and columns contained in the result set, it may contain a two dimension array with all the data of the result columns and rows, or just an array with the data of one column or one row, or just one result value.
|
|
| Name: |
DB Connect |
| Base name: |
db_connect |
| Description: |
Query a database and fetch the result and metadata |
| Version: |
- |
| PHP version: |
- |
| License: |
Public Domain |
| All time users: |
2016 users |
| All time rank: |
1753 |
| Week users: |
0 users |
| Week rank: |
2040  |
| |
|
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Not sure (50.0%) |
Sufficient (62.5%) |
- |
Sufficient (62.5%) |
- |
- |
Insufficient (37.5%) |
2106 |
| Month: |
Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|