PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

cubrid_list_dbs - Return an array with the list of all existing CUBRID databases | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

cubrid_list_dbs

(PECL CUBRID >= 8.3.0)

cubrid_list_dbsReturn an array with the list of all existing CUBRID databases

説明

array cubrid_list_dbs ([ resource $conn_identifier ] )

This function returns an array with the list of all existing Cubrid databases.

パラメータ

conn_identifier

The CUBRID connection.

返り値

An numeric array with all existing Cubrid databases; on success.

FALSE on failure.

例1 cubrid_list_dbs() example

<?php
$conn 
cubrid_connect("localhost"33000"demodb");

$db_list cubrid_list_dbs($conn);
var_dump($db_list);

cubrid_disconnect($conn);
?>

上の例の出力は以下となります。

array(1) {
  [0]=>
  string(6) "demodb"
}

忘却曲線を使ってこの関数を確実に記憶に残す

フォーラムで「cubrid_list_dbs - Return an array with the list of all existing CUBRID databases」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | cubrid_list_dbs - Return an array with the list of all existing CUBRID databases」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: