fbsql_num_fields

Get number of fields in result

Description

int fbsql_num_fields ( resource $result )

Returns the number of fields in the given result set.

Parameters

result

A result identifier returned by fbsql_query or fbsql_db_query.

Return Values

Returns the number of fields, as an integer.

See Also

  • fbsql_db_query
  • fbsql_query
  • fbsql_fetch_field
  • fbsql_num_rows