(PHP 4 >= 4.2.0)

fbsql_tablename -- Get table name of field


string fbsql_tablename ( resource result, int i)

fbsql_tablename() takes a result pointer returned by the fbsql_list_tables() function as well as an integer index and returns the name of a table. The fbsql_num_rows() function may be used to determine the number of tables in the result pointer.

例子 1. fbsql_tablename() example

("localhost", "_SYSTEM", "");
$result = fbsql_list_tables("wisconsin");
$i = 0;
while (
$i < fbsql_num_rows($result)) {
$tb_names[$i] = fbsql_tablename($result, $i);
$tb_names[$i] . "<br />";

虎的笑话 虎的成语 虎的歇后语