Forum und email

msql_field_flags

(PHP 4, PHP 5)

msql_field_flags — Get field flags

Descrizione

string msql_field_flags ( resource $result , int $field_offset )

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

Elenco dei parametri

result

Il risultato resource che che viene calcolato. Questo risultato deriva da una chiamata a msql_query().

field_offset

L'offset numerico dei campi. field_offset inizia da 1.

Valori restituiti

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.