mysqli_result::fetch_assoc

mysqli_result::fetch_assoc

mysqli_fetch_assoc

(PHP 5, PHP 7)

mysqli_result::fetch_assoc -- mysqli_fetch_assocFetch a result row as an associative array

Description

Object oriented style

array mysqli_result::fetch_assoc ( void )

Procedural style

array mysqli_fetch_assoc ( mysqli_result $result )

Returns an associative array that corresponds to the fetched row or NULL if there are no more rows.

登录查看完整内容