PHP: fbsql_list_dbs - Manual in Deutsh
PHP: fbsql_list_dbs - Manual in French
PHP: fbsql_list_dbs - Manual in Polish

You Are At PHP: fbsql_list_dbs - Manual Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

fbsql_list_dbs

(PHP 4 >= 4.0.6, PHP 5)

fbsql_list_dbs -- List databases available on a FrontBase server

Description

resource fbsql_list_dbs ( [resource link_identifier] )

Return a result pointer containing the databases available from the current fbsql daemon. Use the fbsql_tablename() to traverse this result pointer.

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

Returns a result pointer or FALSE on error.

Examples

Example 1. fbsql_list_dbs() example

$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: The above code would just as easily work with fbsql_fetch_row() or other similar functions.

See Also

fbsql_list_fields()
fbsql_list_tables()

klimatyzacje lg warszawa
uroda
Koszulki Smoke Story Koszulki Smoke Story
Electro lista serwisów
Na budowie Opel Corsa mur niszczy mur z cegieł Ciągnie i przewrac

Another Useful functions:


ref.fbsql | function.fbsql-warnings | function.fbsql-username | function.fbsql-tablename | function.fbsql-table-name | function.fbsql-stop-db | function.fbsql-start-db | function.fbsql-set-transaction | function.fbsql-set-password | function.fbsql-set-lob-mode | function.fbsql-set-characterset | function.fbsql-select-db | function.fbsql-rows-fetched | function.fbsql-rollback | function.fbsql-result | function.fbsql-read-clob | function.fbsql-read-blob | function.fbsql-query | function.fbsql-pconnect | function.fbsql-password | function.fbsql-num-rows | function.fbsql-num-fields | function.fbsql-next-result | function.fbsql-list-tables | function.fbsql-list-fields | function.fbsql-list-dbs | function.fbsql-insert-id | function.fbsql-hostname | function.fbsql-get-autostart-info | function.fbsql-free-result | function.fbsql-field-type | function.fbsql-field-table | function.fbsql-field-seek | function.fbsql-field-name | function.fbsql-field-len | function.fbsql-field-flags | function.fbsql-fetch-row | function.fbsql-fetch-object | function.fbsql-fetch-lengths | function.fbsql-fetch-field | function.fbsql-fetch-assoc | function.fbsql-fetch-array | function.fbsql-error | function.fbsql-errno | function.fbsql-drop-db | function.fbsql-db-status | function.fbsql-db-query | function.fbsql-database | function.fbsql-database-password | function.fbsql-data-seek | function.fbsql-create-db | function.fbsql-create-clob | function.fbsql-create-blob | function.fbsql-connect | function.fbsql-commit | function.fbsql-close | function.fbsql-clob-size | function.fbsql-change-user | function.fbsql-blob-size | function.fbsql-autocommit | function.fbsql-affected-rows |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.