mysql_num_fields( <result> )


Module: MySQL

Summary:

Returns the number of columns in a result set.



Example:

fields = mysql_num_fields( result );



Required Args:

  • 1 : <result> Result set