mysql_num_fields
Get number of fields in result
Description
intmysql_num_fields
resourceresult
mysql_num_fields returns the number of
fields in the result set result.
A mysql_num_fields example
]]>
For downward compatibility mysql_numfields
can also be used. This is deprecated however.
See also
mysql_select_db,
mysql_query,
mysql_fetch_field and
mysql_num_rows.