dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

cubrid_num_fields> <cubrid_field_type
[edit] Last updated: Fri, 28 Jun 2013

view this page in

cubrid_list_dbs

(PECL CUBRID >= 8.3.0)

cubrid_list_dbsReturn 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"
}


add a note add a note User Contributed Notes cubrid_list_dbs - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites