PHP: fbsql_tablename - Manual

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

search for in the

fbsql_username fbsql_stop_db

Last updated: Sat, 27 Jan 2007

view this page in

# 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() 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.

## Список параметров

`result`

  A result pointer returned by fbsql_list_tables().

`i`

  Integer index for the current table.

## Возвращаемые значения

Returns the name of the table, as a string.

## Примеры

Пример 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++;
}
?>`

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

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST