sasql_fetch_field

Returns an object that contains information about a specific column.

Prototype

object sasql_fetch_field( sasql_result $result [, int $field_offset ] )

Parameters

$result – The result resource returned by the sasql_query function.
$field_offset – An integer representing the column/field on which you want to retrieve information. Columns are zero based; to get the first column, specify the value 0. If this parameter is omitted, then the next field object is returned.

Returns

An object that has the following properties: