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 ); |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |