mysql_tablename

(PHP 4, PHP 5)

mysql_tablename — Get table name of field

Warning

This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0.
Instead, the MySQLi or PDO_MySQL extension should be used.
See also MySQL: choosing an API guide and
related FAQ for more information.
Alternatives to this function include:

SQL Query: SHOW TABLES

Description

stringmysql_tablename
( resource$result
, int$i
)

Retrieves the table name from a result.

This function is deprecated. It is preferable to use
mysql_query() to issue an SQL SHOW TABLES
[FROM db_name] [LIKE 'pattern'] statement instead.