sybase_fetch_object()
sybase_fetch_object - Fetch a row as an object
Syntax
object sybase_fetch_object (
resource $result,
mixed $object)
Arguments
- result
- object - Use the second object to specify the type of object you want to return. If this parameter is omitted, the object will be of type stdClass.
Description
sybase_fetch_object() is similar to sybase_fetch_assoc(), with one difference - an object is returned, instead of an array.
Version
PHP 4, 5
Return value
Returns an object with properties that correspond to the fetched row, or FALSE if there are no more rows.