PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<fbsql_stop_dbfbsql_username>
Last updated: Mon, 16 Jul 2012

fbsql_tablename

(PHP 4 >= 4.2.0, PHP 5)

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

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




<fbsql_stop_dbfbsql_username>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST