   #PHP Manual Improved MySQL Extension mysqli_fetch_field_direct
   mysqli_fetch_fields

   PHP Manual
   Prev  Next
   ______________________________________________________________________

                              mysqli_fetch_field

   (PHP 5 CVS only)
   mysqli_fetch_field -- Returns the next field in the result set

Description

   object mysqli_fetch_field ( resource result)

   The mysqli_fetch_field() function is used to return the attributes of
   the next column in the result set represented by the result parameter
   as an object. When executed this function will return an object
   containing the attributes of the current column or FALSE if there are
   no more columns in the result set.

   Table 1. Object attributes
   Attribute  Description
   name       The name of the column
   orgname    ?
   table      The name of the table this field belongs to (if not calculated)
   orgtable   ?
   def        The default value for this field, represented as a string
   max_length The maximum width of the field for the result set.
   flags      An integer representing the bit-flags for the field.
   type       The data type used for this field
   decimals   The number of decimals used (for integer fields)
   ______________________________________________________________________

   Prev                      Home                Next
   mysqli_fetch_field_direct  Up  mysqli_fetch_fields
