略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: fbsql_table_name

2024-12-22

fbsql_table_name

(PHP 4 >= 4.2.0, PHP 5, PHP 7)

fbsql_table_nameGet table name of field

说明

fbsql_table_name ( resource $result , int $index ) : string

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.

参数

result

A result pointer returned by fbsql_list_tables().

index

Integer index for the current table.

返回值

Returns the name of the table, as a string.

范例

Example #1 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

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.fbsql-table-name.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3