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

search for in the

fbsql_list_fields> <fbsql_insert_id
[edit] Last updated: Fri, 24 Jun 2011

view this page in

fbsql_list_dbs

(PHP 4 >= 4.0.6, PHP 5)

fbsql_list_dbsفهرست پایگاه داده‌های موجود در سرور FrontBase

Description

resource fbsql_list_dbs ([ resource $link_identifier ] )

بازگرداندن اشاره‌گر نتیجه شامل پایگاه داده‌های موجود از fbsql daemon فعلی. fbsql_tablename() برای گردش اشاره‌گر نتایج استفاده کنید.

Parameters

link_identifier

A FrontBase link identifier returned by fbsql_connect() or fbsql_pconnect().

If optional and not specified, the function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if fbsql_connect() was called with no arguments.

Return Values

بازگرداندن اشاره‌گر نتیجه یا FALSE در صورت خطا.

Examples

Example #1 مثال fbsql_list_dbs()

$link = fbsql_connect('localhost', 'myname', 'secret');
$db_list = fbsql_list_dbs($link);

while ($row = fbsql_fetch_object($db_list)) {
    echo $row->Database . "\n";
}

The above example will output something similar to:

database1
database2
database3
...

Note:

کد بالا به آسانی fbsql_fetch_row() یا توابع مشابه عمل خواهد کرد.

See Also



add a note add a note User Contributed Notes fbsql_list_dbs - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites