Mysqli
PHP 手册

The MySQLi_Result class

简介

Represents the result set obtained from a query against the database.

Class synopsis

MySQLi_Result
MySQLi_Result {
/* Properties */
int $current_field ;
int $field_count;
array $lengths;
int $num_rows;
/* Methods */
int mysqli_field_tell ( mysqli_result $result )
bool mysqli_result::data_seek ( int $offset )
mixed mysqli_result::fetch_all ([ int $resulttype ] )
mixed mysqli_result::fetch_array ([ int $resulttype ] )
object mysqli_result::fetch_field_direct ( int $fieldnr )
object mysqli_result::fetch_object ([ string $class_name [, array $params ]] )
mixed mysqli_result::fetch_row ( void )
int mysqli_num_fields ( mysqli_result $result )
bool mysqli_result::field_seek ( int $fieldnr )
void mysqli_result::free ( void )
array mysqli_fetch_lengths ( mysqli_result $result )
int mysqli_num_rows ( mysqli_result $result )
}

Table of Contents


Mysqli
PHP 手册