Fetches a row as an object.
This function is similar to sybase_fetch_assoc(), but it returns an
object rather than an array. It positions the internal pointer one row farther in the result
set.
Syntax
object sybase_fetch_object(resource $result [, mixed $object ])
Parameters
- $result – the result resource that comes from a call to sybase_query().
- $object – optionally, specify the type of object to be returned. The default object type is
stdClass.
Returns
Returns an object with properties that correspond to the fetched row's field names.
FALSE – there were no more rows to be fetched.