mysql_field_flags

(PHP 3, PHP 4 )

mysql_field_flags --  결과로부터 특정 필드(field)의 상태정보(flag)를 반환

설명

string mysql_field_flags ( int result, int field_offset)

mysql_field_flags()은 특정 필드의 상태정보를 반환한다. 상태정보는 한개의 공백으로 구분된 단일 단어로 출력되며, 이 값은 explode()에 의해 나눠서 볼 수 있다.

사용중인 MySQL 버전이 "not_null", "primary_key", "unique_key", "multiple_key", "blob", "unsigned", "zerofill", "binary", "enum", "auto_increment", "timestamp"를 지원한다면, 필드 상태정보에 따라 위의 단어들이 출력될 것이다.

하위 호환성이 있는 mysql_fieldflags()도 사용 가능하다.