mysqli_fetch_fields

(PHP 5 CVS only)

mysqli_fetch_fields -- Returns an array of objects representing the fields in a result set

Description

array mysqli_fetch_fields ( resource result)

This function serves an identical purpose to the mysqli_fetch_field() function with the single difference that, instead of returning one object at a time for each field, the columns are returned as an array of objects. For a description of the attributes of each object and their meaning, see the mysqli_fetch_field() function.