mysql_tablename

Example

 string mysql_tablename ( resource $result , int $i ) 

Description

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.

Return Values

The name of the table on success or FALSE on failure. Use the mysql_tablename() function to traverse this result pointer, or any function for result tables, such as mysql_fetch_array().