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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.