PHP Manual
mysql_tablename
Description
string mysql_tablename ( resource result, int i )
Retrieves the table name from a result.
This function deprecated. It is preferable to use mysql_query() to issue a SQL SHOW TABLES [FROM db_name] [LIKE 'pattern'] statement instead.
Parameters
resultA result pointer resource that's returned from mysql_list_tables().
iThe integer index (row/table number)
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().
Notes
Note: The mysql_num_rows() function may be used to determine the number of tables in the result pointer.
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




