PHP 8.0.0 Release Candidate 3 available for testing


(PHP 4, PHP 5 < 5.3.0)

msql_field_flagsGet field flags


msql_field_flags ( resource $result , int $field_offset ) : string

msql_field_flags() returns the field flags of the specified field.



The result resource that is being evaluated. This result comes from a call to msql_query().


The numerical field offset. The field_offset starts at 1.

Return Values

Returns a string containing the field flags of the specified key. This can be: primary key not null, not null, primary key, unique not null or unique.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top