mysql_list_tables

(PHP 3, PHP 4 )

mysql_list_tables -- MySQL 데이터베이스에 있는 테이블 목록을 반환

설명

int mysql_list_tables ( string database [, int link_identifier])

mysql_list_tables() 지정된 데이터베이스 이름으로 결과값을 얻고 mysql_db_query()등의 함수에 사용되는 결과 포인터를 반환한다. mysql_tablename() 함수는 결과 포인터로부터 실제 테이블 이름을 추출하는데 사용한다.

하위 호환성을 가지는 mysql_listtables() 함수 역시 사용 가능하다.