mysql_db_name
PHP 4, PHP 5
mysql_db_name - Retrieves database name from the call to mysql_list_dbs
Manual
mysql_db_name(
resource$result,
int$row,
[mixed$field = NULL] ): string
Retrieve the database name from a call to mysql_list_dbs.
Parameters
- result
-
The result pointer from a call to mysql_list_dbs.
- row
-
The index into the result set.
- field
-
The field name.
Return Values
Returns the database name on success, and false on failure. If false is returned, use mysql_error to determine the nature of the error.
Notes
Note:
For backward compatibility, the following deprecated alias may be used: mysql_dbname