Public Member Functions | |
| mysql () | |
| Class Constructor. | |
| _mysql () | |
| Class Destructor. | |
| sql_clear_table ($table) | |
| Clear a complete datatable. | |
| sql_close () | |
| Close your database server connection. | |
| sql_connect ($server, $user, $pwd, $database="") | |
| Build up a connection to SQL server and database. | |
| sql_fetch_row ($data) | |
| Fetch data array of SQL database. | |
| sql_flush_errors () | |
| Will flush the complete sql error buffer. | |
| sql_get_errorlist () | |
| Returns an error list. | |
| sql_getlast_entry ($table, $col) | |
| Return the last entry in SQL database. | |
| sql_getlast_query () | |
| Return last SQL query. | |
| sql_getnrof_lines ($table) | |
| Return number of lines in datatable. | |
| sql_open_database ($database) | |
| Open database. | |
| sql_query ($command) | |
| Sends a command to database. | |
| sql_trimcol ($table, $name) | |
| Trim selected Column in database. | |
| sql_add_errors () | |
| Add last error to error list. | |
Public Attributes | |
| $sql_error_hdl = 0 | |
| $sql_host | |
| $sql_handle = false | |
| $sql_lgn | |
| $sql_pwd | |
| $sql_query | |
|
|
Class Constructor.
|
|
|
Class Destructor.
|
|
|
Add last error to error list.
|
|
|
Clear a complete datatable.
|
|
|
Close your database server connection.
|
|
||||||||||||||||||||
|
Build up a connection to SQL server and database.
|
|
|
Fetch data array of SQL database.
|
|
|
Will flush the complete sql error buffer.
|
|
|
Returns an error list.
|
|
||||||||||||
|
Return the last entry in SQL database.
|
|
|
Return last SQL query.
|
|
|
Return number of lines in datatable.
|
|
|
Open database.
|
|
|
Sends a command to database.
|
|
||||||||||||
|
Trim selected Column in database.
|
|
|
Error message handler |
|
|
Handle to SQL database |
|
|
SQL host |
|
|
SQL login name |
|
|
SQL password |
|
|
Last SQL query |
1.4.3