MSQL_FETCH_FIELD(3) MSQL_FETCH_FIELD(3)
msql_fetch_field - Get field information
SYNOPSIS
object msql_fetch_field (resource $result, [int $field_offset])
DESCRIPTION
msql_fetch_field(3) can be used in order to obtain information about fields in a certain query result.
PARAMETERS
o $
result -The result resource that is being evaluated. This result comes from a call to msql_query(3).
o $field_offset
- The field offset. If not specified, the next field that wasn't yet retrieved by msql_fetch_field(3) is retrieved.
RETURN VALUES
Returns an object containing field information. The properties of the object are:
oname - column name
otable - name of the table the column belongs to
onot_null - 1 if the column cannot be
NULL
ounique - 1 if the column is a unique key
o type - the type of the column
SEE ALSO
msql_field_seek(3).
PHP Documentation Group MSQL_FETCH_FIELD(3)