Table of Contents
valentina_db_name()
Declaration
string valentina_list_dbs( resource result, int row )
Parameters
Name | Description |
---|---|
result | The result returned from valentina_list_dbs(). |
row | The 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)); ?>