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

sqlanywhere_fetch_row


Prototype

array sqlanywhere_fetch_row( resource result_identifier )
Description
Fetches one row from the result set. This row is returned as an array that can be indexed by the column indexes only.
Parameters
result_identifier      The result identifier returned by a sqlanywhere_query function.
Returns
An array that represents a row from the result set, or false when no rows are available.
Example
This example shows how to retrieve one row at a time from a result set.

while( ($row = sqlanywhere_fetch_array( $result )) ) {
     echo "$row[0] \n"; # output the data in the first column only.
}

Related functions
sqlanywhere_data_seek
sqlanywhere_fetch_field
sqlanywhere_fetch_array
sqlanywhere_fetch_object

Back to Top

    
 ©Copyright 2008 iAnywhere Solutions, Inc.