string mysql_field_flags
(string result, int field_offset);mysql_field_flags() returns the field flags of the specified field. Currently this is either, "not null", "primary key", a combination of the two or "" (an empty string).
For downward compatibility mysql_fieldflags() can also be used.