cubrid_list_dbs
(PECL CUBRID >= 8.3.0)
cubrid_list_dbs — Return an array with the list of all existing CUBRID databases
Description
array cubrid_list_dbs
([ resource
$conn_identifier
] )This function returns an array with the list of all existing Cubrid databases.
Parameters
-
conn_identifier
-
The CUBRID connection.
Return Values
An numeric array with all existing Cubrid databases; on success.
FALSE
on failure.
Examples
Example #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);
?>
The above example will output:
array(1) { [0]=> string(6) "demodb" }
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Расширения для работы с базами данных
- Расширения для работы с базами данных отдельных производителей
- CUBRID
- cubrid_affected_rows
- cubrid_client_encoding
- cubrid_close
- cubrid_data_seek
- cubrid_db_name
- cubrid_errno
- cubrid_error
- cubrid_fetch_array
- cubrid_fetch_assoc
- cubrid_fetch_field
- cubrid_fetch_lengths
- cubrid_fetch_object
- cubrid_fetch_row
- cubrid_field_flags
- cubrid_field_len
- cubrid_field_name
- cubrid_field_seek
- cubrid_field_table
- cubrid_field_type
- cubrid_list_dbs
- cubrid_num_fields
- cubrid_ping
- cubrid_query
- cubrid_real_escape_string
- cubrid_result
- cubrid_unbuffered_query
Коментарии
404 Not Found