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, 17 May 2013

view this page in

fbsql_list_dbs

(PHP 4 >= 4.0.6, PHP 5)

fbsql_list_dbs Elenca i database presenti su un server FrontBase

Descrizione

resource fbsql_list_dbs ([ resource $ link_identifier ] )

La funzione fbsql_list_dbs() restituirĂ  il puntatore ad un risultato contenente l'elenco dei databse disponibili dal corrente servizio fbsql. Utilizzare la funzione fbsql_tablename() per muoversi tra i risultati del puntatore

Example #1 Esempio di uso di 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";
}

L'esempio precedente visualizzerĂ :

database1
database2
database3
...

Nota:

L'esempio precedente sarebbe semplice con fbsql_fetch_row() o altre funzioni simili.



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