Query: cubrid_db_name
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CUBRID_DB_NAME(3) 1 CUBRID_DB_NAME(3) cubrid_db_name - Get db name from results of cubrid_list_dbsSYNOPSISstring cubrid_db_name (array $result, int $index)DESCRIPTIONRetrieve the database name from a call to cubrid_list_dbs(3).PARAMETERSo $result - The result pointer from a call to cubrid_list_dbs(3). o $index - The index into the result set.RETURN VALUESReturns the database name on success, and FALSE on failure. If FALSE is returned, use cubrid_error(3) to determine the nature of the error.EXAMPLESExample #1 cubrid_db_name(3) example <?php error_reporting(E_ALL); $conn = cubrid_connect('localhost', 33000, 'demodb', 'dba', ''); $db_list = cubrid_list_dbs($conn); $i = 0; $cnt = count($db_list); while ($i < $cnt) { echo cubrid_db_name($db_list, $i) . " "; $i++; } ?> The above example will output: demodbSEE ALSOcubrid_list_dbs(3). PHP Documentation Group CUBRID_DB_NAME(3)
Related Man Pages |
---|
cubrid_data_seek(3) - php |
cubrid_lob2_read(3) - php |
cubrid_query(3) - php |
cubrid_result(3) - php |
cubrid_set_db_parameter(3) - php |
Similar Topics in the Unix Linux Community |
---|
file wont remove |
Removing files |
find length of a parameter |
sort files |
Get Parameter with Shell request |