Query: fbsql_table_name
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FBSQL_TABLE_NAME(3) 1 FBSQL_TABLE_NAME(3) fbsql_table_name - Get table name of fieldSYNOPSISstring fbsql_table_name (resource $result, int $index)DESCRIPTIONfbsql_table_name(3) gets the name of the current table in the given $result set. The fbsql_num_rows(3) function may be used to determine the number of tables in the result pointer.PARAMETERSo $result - A result pointer returned by fbsql_list_tables(3). o $index - Integer index for the current table.RETURN VALUESReturns the name of the table, as a string.EXAMPLESExample #1 fbsql_table_name(3) example <?php fbsql_connect("localhost", "_SYSTEM", ""); $result = fbsql_list_tables("wisconsin"); $i = 0; while ($i < fbsql_num_rows($result)) { $tb_names[$i] = fbsql_table_name($result, $i); echo $tb_names[$i] . "<br />"; $i++; } ?> PHP Documentation Group FBSQL_TABLE_NAME(3)