msql_tablename
    (PHP 3, PHP 4 )
msql_tablename -- Get table name of field
Description
string 
msql_tablename ( int query_identifier, int field)
    
     msql_tablename() takes a result pointer
     returned by the msql_list_tables() function as
     well as an integer index and returns the name of a table. The
     msql_numrows() function may be used to
     determine the number of tables in the result pointer.
     
| Example 1. msql_tablename() example | <?php 
msql_connect ("localhost");
$result = msql_list_tables ("wisconsin");
$i = 0;
while ($i < msql_numrows ($result)) {
    $tb_names[$i] = msql_tablename ($result, $i);
    echo $tb_names[$i] . "<BR>";
    $i++; 
}
?> | 
 |