SYBASE_FETCH_FIELD(3) SYBASE_FETCH_FIELD(3)
sybase_fetch_field - Get field information from a result
SYNOPSIS
object sybase_fetch_field (resource $result, [int $field_offset = -1])
DESCRIPTION
sybase_fetch_field(3) can be used in order to obtain information about fields in a certain query result.
PARAMETERS
o $result
-
o $field_offset
- If the field offset isn't specified, the next field that wasn't yet retrieved by sybase_fetch_field(3) is retrieved.
RETURN VALUES
Returns an object containing field information.
The properties of the object are:
o name - column name. if the column is a result of a function, this property is set to computed#N, where #N is a serial number.
o column_source - the table from which the column was taken
o max_length - maximum length of the column
o numeric - 1 if the column is numeric
o type - datatype of the column
SEE ALSO
sybase_field_seek(3).
PHP Documentation Group SYBASE_FETCH_FIELD(3)