XXIIFrontBase functions

このモジュールの関数により FrontBaseデータベースサーバにアクセスす ることが可能になります。これらの関数を使用するには、オプション --with-fbsql を付けてPHPをコンパ イルする必要があります。このオプションをfbsqlへのパスを指定せずに 使用した場合、PHPはfbsqlクライアントライブラリをそのプラットフォー ムのデフォルトのインストール位置で探します。FrontBaseを標準以外の 場所にインストールしているユーザは、必ず次のようにfbsqlへのパスを 指定する必要があります。 --with-fbsql=/path/to/fbsql これにより、PHPは、間違いなくFrontBaseによりインストールされたクラ イアントライブラリを探すことができるようになります。

FrontBase に関する詳細については、http://www.frontbase.com/ で入手可能です。

FrontBase に関するドキュメントは、http://www.frontbase.com/cgi-bin/WebObjects/FrontBase.woa/wa/productsPage?currentPage=Documentation から入手可能です。

Frontbase のサポートは、PHP 4.0.6 で追加されました。

目次
fbsql_affected_rows — 直近のFrontBase処理により作用を受けたレコードの数を得る
fbsql_autocommit — autocommitを有効または無効にする
fbsql_change_user — アクティブな接続にログインしているユーザを変更する
fbsql_close — Close FrontBase connection
fbsql_connect — Open a connection to a FrontBase Server
fbsql_create_db — Create a FrontBase database
fbsql_data_seek — Move internal result pointer
fbsql_db_query — Send a FrontBase query
fbsql_drop_db — Drop (delete) a FrontBase database
fbsql_errno — Returns the numerical value of the error message from previous FrontBase operation
fbsql_error — Returns the text of the error message from previous FrontBase operation
fbsql_fetch_array — Fetch a result row as an associative array, a numeric array, or both.
fbsql_fetch_assoc — Fetch a result row as an associative array
fbsql_fetch_field — Get column information from a result and return as an object
fbsql_fetch_lengths — Get the length of each output in a result
fbsql_fetch_object — Fetch a result row as an object
fbsql_fetch_row — Get a result row as an enumerated array
fbsql_field_flags — Get the flags associated with the specified field in a result
fbsql_field_name — Get the name of the specified field in a result
fbsql_field_len — Returns the length of the specified field
fbsql_field_seek — Set result pointer to a specified field offset
fbsql_field_table — Get name of the table the specified field is in
fbsql_field_type — Get the type of the specified field in a result
fbsql_free_result — Free result memory
fbsql_insert_id — Get the id generated from the previous INSERT operation
fbsql_list_dbs — List databases available on a FrontBase server
fbsql_list_fields — List FrontBase result fields
fbsql_list_tables — List tables in a FrontBase database
fbsql_next_result — Move the internal result pointer to the next result
fbsql_num_fields — Get number of fields in result
fbsql_num_rows — Get number of rows in result
fbsql_pconnect — Open a persistent connection to a FrontBase Server
fbsql_query — Send a FrontBase query
fbsql_result — Get result data
fbsql_select_db — Select a FrontBase database
fbsql_tablename — Get table name of field
fbsql_warnings — Enable or disable FrontBase warnings