Complete PHP MySQL Reference
The mysql_select_db() function sets the active MySQL database.
This function returns TRUE on success, or FALSE on failure.
| Parameter | Description |
|---|---|
| database | Required. Specifies the database to select. |
| connection | Optional. Specifies the MySQL connection. If not specified, the last connection opened by mysql_connect() or mysql_pconnect() is used. |
Complete PHP MySQL Reference
Your message has been sent to W3Schools.