May 2005
Intermediate to advanced
352 pages
14h 39m
English
mysql_tablename( )
mysql_tablename(results,index)
This returns
the table name for a particular table in the results set given by
mysql_list_tables( ). An index may be specified to
retrieve a particular element of the results set.
...
$tables = mysql_list_tables('workrequests');
$tbs = mysql_num_rows($tables);
for($index = 0; $index < $tbs; $index++) {
print mysql_tablename($tables, $index) . "\n";
}
...Read now
Unlock full access