int sqlanywhere_num_fields( resource result_identifier )
This function is deprecated. You should use the following PHP function instead: sasql_field_count.
Returns the number of columns (fields) the result_identifier contains.
result_identifier The result resource returned by the sqlanywhere_query function.
A positive number of columns, or an error if result_identifier is not valid.
This example returns a value indicating how many columns are in the result set.
$num_columns = sqlanywhere_num_fields( $result );