mysql_field_flags

string mysql_field_flags(mysql result result_handle, int field_offset) 
result_handle Result handle returned by mysql_db_query() or mysql_query()
field_offset Field offset to use

Gets the flags associated with a particular field in a result handle.

Returns:

String of space-separated flag names; FALSE on error

Description:

mysql_field_flags() returns any flags that are associated with a particular field in a MySQL result handle returned by mysql_db_query() or mysql_query(). The flags are returned as a string of flag names separated by single spaces:

(flag1 flag2 flag3 ...) 

The field_offset argument specifies the desired column. The field offset starts at 0. The following table lists the flags that can be returned.

Get PHP Functions Essential Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.