sasql_num_fields

Returns the number of fields that a row in the $result contains.

Prototype

int sasql_num_fields( sasql_result $result )

Parameters

$result – The result resource returned by the sasql_query function.

Returns

Returns the number of fields in the specified result set.