Forum und email

msql_field_flags

(PHP 4, PHP 5)

msql_field_flags — Get field flags

Descrierea

string msql_field_flags ( resource $result , int $field_offset )

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

Parametri

result

Rezultatul de tip resource, care este evaluat. Acest rezultat provine din apelul către msql_query().

field_offset

Deplasamentul numeric al câmpului. field_offset începe de la 1.

Valorile întroarse

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.