msql_tablename
返回指定资料表的名称。 
语法: string msql_tablename(int query_identifier, int field); 
返回值: 字符串 
函数种类: 数据库功能 
 本函数用来取得资料表字段的名称。参数 query_identifier 为查询结果的 ID 代码。参数 field 为第几个字段的数字。 
 
<?php  msql_connect ("localhost"); $result = msql_list_tables("userinfo"); $i = 0; while ($i < msql_numrows($result)) {   $tb_names[$i] = msql_tablename($result, $i);   echo $tb_names[$i] . "<br>\n";   $i++;  } ?>
 
 
  |