mysql_select_db

Example

 bool mysql_select_db ( string $database_name [, resource $link_identifier ] ) 

Description

Sets the current active database on the server that's associated with the specified link identifier. Every subsequent call to mysql_query() will be made on the active database.

Return Values

Returns TRUE on success or FALSE on failure.