sybase_num_fields

Returns the number of fields in the result set.

Syntax

int sybase_num_fields(resource $result)

Parameters

Returns

The number of fields in the result set.

FALSE – failed to retrieve the number of fields.