iAnywhere
                  North America  [Change]
Home | Events | Downloads | Partners | Developers | Contact Us
CompanySolutionsServices & SupportOur CustomersHow to Buy

sqlanywhere_num_fields


Prototype

resource sqlanywhere_num_fields( resource result_identifier )
Description
Returns the number of columns (fields) the result_identifier contains.
Parameters
result_identifier      The result identifier returned by a sqlanywhere_query function.
Returns
A positive number of columns, or an error if result_identifier is not valid.
Example
This example returns a value indicating how many columns are in the result set.

$num_columns = sqlanywhere_num_fields( $result );

Back to Top

    
 ©Copyright 2008 iAnywhere Solutions, Inc.