日期:2014-05-17  浏览次数:20376 次

PHP里的MySQLi类的问题
MySQLi {

/* 属性 */

int $mysqli->affected_rows;

string $mysqli->client_info;

int $mysqli->client_version;

string $mysqli->connect_errno;

string $mysqli->connect_error;

int $errno;

array $mysqli->error_list;

string $mysqli->error;

int $mysqli->field_count;

int $mysqli->client_version;

string $mysqli->host_info;

string $mysqli->protocol_version;

string $mysqli->server_info;

int $mysqli->server_version;

string $mysqli->info;

mixed $mysqli->insert_id;

string $mysqli->sqlstate;

int $mysqli->thread_id;

int $mysqli->warning_count;

/* 方法 */

int mysqli_affected_rows ( mysqli $link )

bool mysqli::autocommit ( bool $mode )

bool mysqli::change_user ( string $user , string $password , string $database )

string mysqli::character_set_name ( void )

string mysqli_get_client_info ( mysqli $link )

int mysqli_get_client_version ( mysqli $link )

bool mysqli::close ( void )

bool mysqli::commit ( void )

int mysqli_connect_errno ( void )

string mysqli_connect_error ( void )

mysqli mysqli_connect ([ string $host = ini_get("mysqli.default_host") [, string $username = ini_get("mysqli.default_user") [, string $passwd = ini_get("mysqli.default_pw") [, string $dbname = "" [, int $port = ini_get("mysqli.default_port") [, string $socket = ini_get("mysqli.default_socket") ]]]]]] )

bool mysqli::debug ( string $message )

void mysqli::disable_reads_from_master ( void )

bool mysqli::dump_debug_info ( void )

int mysqli_errno ( mysqli $link )

array mysqli_error_list ( mysqli $link )

string mysqli_error ( mysqli $link )

int mysqli_field_count ( mysqli $link )

object mysqli::get_charset ( void )

string mysqli::get_client_info ( void )

array mysqli_get_client_stats ( void )

int mysqli_get_client_version ( mysqli $link )

bool mysqli::get_connection_stats ( void )

string mysqli_get_host_info ( mysqli $link )

int mysqli_get_proto_info ( mysqli $link )

string mysqli_get_server_info ( mysqli $link )

int mysqli_get_server_version ( mysqli $link )

mysqli_warning mysqli::get_warnings ( void )

string mysqli_info ( mysqli $link )

mysqli mysqli::init ( void )

mixed mysqli_insert_id ( mysqli $link )

bool mysqli::kill ( int $processid )

bool mysqli::more_results ( void )

bool mysqli::multi_query ( string $query )

bool mysqli::next_result ( void )

bool mysqli::options ( int $option , mixed $value )

bool mysqli::ping ( void )

public int mysqli::poll ( array &$read , array &$error , array &$reject , int $sec [, int $usec ] )

mysqli_stmt mysqli::prepare ( string $query )

mixed mysqli::query ( string $query [, int $resultmode = MYSQLI_STORE_RESULT ] )

bool mysqli::real_connect ([ string $host [, string $username [, string $passwd [, string $dbname [, int $port [, string $socket [, int $flags ]]]]]]] )

string mysqli::escape_string ( string $escapestr )

bool mysqli::real_query ( string $query )

public mysqli_result mysqli::reap_async_query ( void )

public bool mysqli::refresh ( int $options )

bool mysqli::rollback ( void )

int mysqli::rpl_query_type ( string $query )

bool mysqli::select_db ( string $dbname )

bool mysqli::send_