sybase_fetch_field

Returns an object containing field information.

This function can be used to obtain information about fields in the provided query result.

Syntax

object sybase_fetch_field(resource $result [, int $field_offset ])

Parameters

Returns

Returns an object with the following field information as properties:

Field name Field type Field description
name string Column name.
table string The table from which the column was taken.
max_length int Maximum length of the column.
type string Data type of the column, as defined in cspublic.h.