| [ Index ] |
PHP Cross Reference of Nucleus CMS v3.51 code documentation |
[Source view] [Print]
(no description)
| Copyright: | Copyright (C) 2002-2009 The Nucleus Group |
| License: | http://nucleuscms.org/license.txt GNU General Public License |
| Version: | $Id$ |
| File Size: | 577 lines (15 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| startUpError($msg, $title) X-Ref |
| Errors before the database connection has been made |
| sql_connect_args($mysql_host = 'localhost', $mysql_user = '', $mysql_password = '', $mysql_database = '') X-Ref |
| Connects to mysql server |
| sql_connect() X-Ref |
| Connects to mysql server |
| sql_disconnect(&$dbh=NULL) X-Ref |
| disconnects from SQL server |
| sql_close(&$dbh=NULL) X-Ref |
| No description |
| sql_query($query,$dbh=NULL) X-Ref |
| executes an SQL query |
| sql_error($dbh=NULL) X-Ref |
| executes an SQL error |
| sql_select_db($db,&$dbh=NULL) X-Ref |
| executes an SQL db select |
| sql_real_escape_string($val,$dbh=NULL) X-Ref |
| executes an SQL real escape |
| sql_quote_string($val,$dbh=NULL) X-Ref |
| executes an PDO::quote() like escape, ie adds quotes arround the string and escapes chars as needed |
| sql_insert_id($dbh=NULL) X-Ref |
| executes an SQL insert id |
| sql_result($res, $row = 0, $col = 0) X-Ref |
| executes an SQL result request |
| sql_free_result($res) X-Ref |
| frees sql result resources |
| sql_num_rows($res) X-Ref |
| returns number of rows in SQL result |
| sql_affected_rows($res) X-Ref |
| returns number of rows affected by SQL query |
| sql_num_fields($res) X-Ref |
| Get number of fields in result |
| sql_fetch_assoc($res) X-Ref |
| fetches next row of SQL result as an associative array |
| sql_fetch_array($res) X-Ref |
| Fetch a result row as an associative array, a numeric array, or both |
| sql_fetch_object($res) X-Ref |
| fetches next row of SQL result as an object |
| sql_fetch_row($res) X-Ref |
| Get a result row as an enumerated array |
| sql_fetch_field($res,$offset = 0) X-Ref |
| Get column information from a result and return as an object |
| sql_stat($dbh=NULL) X-Ref |
| Get current system status (returns string) |
| sql_client_encoding($dbh=NULL) X-Ref |
| Returns the name of the character set |
| sql_get_client_info() X-Ref |
| Get SQL client version |
| sql_get_server_info($dbh=NULL) X-Ref |
| Get SQL server version |
| sql_get_host_info($dbh=NULL) X-Ref |
| Returns a string describing the type of SQL connection in use for the connection or FALSE on failure |
| sql_get_proto_info($dbh=NULL) X-Ref |
| Returns the SQL protocol on success, or FALSE on failure. |
| sql_field_name($res, $offset = 0) X-Ref |
| Get the name of the specified field in a result |
| Generated: Sun Aug 1 03:56:06 2010 |