Forum und email
msql_field_flags

msql_field_flags

(PHP 3 >= 3.0.7, PHP 4, PHP 5)

msql_field_flags -- Get field flags

Opis

string msql_field_flags ( resource result, int field_offset )

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

Parametry

wynik

Wynik w postaci zmiennej typu resource, który jest przetwarzany. Wynik pochodzi z wywołania funkcji msql_query().

przesunięcie_pola

Liczbowe przesunięcie pola. przesunięcie_pola zaczyna się od wartości 1.

Zwracane wartości

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.