note 10416 added to odbc_connect
| From: | garretg at otable dot com | Date: | Tue, 02 Jan 2001 19:03:49 +0000 |
| Subject: | note 10416 added to odbc_connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9252@lists.php.net to get a copy of this message | ||
If you're connecting to a SQL server database through ODBC, you must set the default database
of the ODBC DSN to the database you want to use.
There is no way to specify the database name in odbc_connect or odbc_pconnect, just the DSN name,
username, and password.
http://www.php.net/manual/function.odbc-connect.php