PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

fbsql_tablename> <fbsql_stop_db
Last updated: Sat, 24 Mar 2007

view this page in

fbsql_table_name

(PHP 4 >= 4.2.0, PHP 5)

fbsql_table_name — Get table name of field

Popis

string fbsql_table_name ( resource $result, int $index )

fbsql_table_name() gets the name of the current table in the given result set.

The fbsql_num_rows() function may be used to determine the number of tables in the result pointer.

Seznam parametrů

result

A result pointer returned by fbsql_list_tables().

index

Integer index for the current table.

Návratové hodnoty

Returns the name of the table, as a string.

Příklady

Příklad 540. fbsql_table_name() 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++;
}
?>



add a note add a note User Contributed Notes
fbsql_table_name
There are no user contributed notes for this page.

fbsql_tablename> <fbsql_stop_db
Last updated: Sat, 24 Mar 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites