Switch to: V11V10V9V8V7V6V5

valentina_db_name()

Declaration

string  valentina_list_dbs( resource result, int row  )

Parameters

Name Description
resultThe result returned from valentina_list_dbs().
rowThe row number of result.

Description

Retrieves the name of database on the Valentina Server.

Return Values

Returns a string, or FALSE on error.

Examples

Example 1.

<?php
$link = valentina_connect('localhost', 'val_user', 'val_password');
if (!$link) {
   die('Could not connect: ' . valentina_error());
}
 
$curs = valentina_list_dbs();
 
printf("First database name is %d\n", valentina_db_name( $curs, 1));
?> 

See Also