DB.class & Functions
Absolute Path of the Class File /includes/classes/db.class.php
Absolute Path of the functions file /includes/functions_db.php
Object Methods | Functions | Purpose |
---|---|---|
::_select($query) | db_select($query) | Executes a MYSQL query and return ARRAY |
::select($tbl, $fields, $condition, $order) | Executes Mysql SELECT query and returns data. | |
::db_update | db_update($tbl, $assoc_fields, $condition) | Update a DB table and set values acording to the Assoc_array fields and as per $condition |
::db_insert | db_insert($tbl, assoc array $fields) | Insert data into a table |
::insert_id | returns last insert_id | |
::Execute() | Executes a raw Mysql Command |
Last updated