This example shows how to retrieve one row at a time from a result set as an object. Column names can be used as object members
to access the column value.
$result = sqlanywhere_query( $conn, "SELECT GivenName, Surname FROM Employees" );
While( ($row = sqlanywhere_fetch_object( $result )) ) {
echo "$row->GivenName \n"; # output the data in the first column only.
}