Anybody have an example of connecting MSSQL?
| From: | Jeff Howard | Date: | Mon, 13 Aug 2001 15:30:51 +0000 |
| Subject: | Anybody have an example of connecting MSSQL? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8811@lists.php.net to get a copy of this message | ||
I have been extremely successful using ASP and MS-SQL for a long time, but
am making a transition to PHP. I've tried connecting to the SQL Server
database, but have been unsuccessful. The way a data source is called in
ASP is:
database.open "Provider=SQLOLEDB;User Id=user;Password=password;Initial
Catalog=mydatabase;Data Source=DATABASESERVER\SQLSERVER"
How can I translate this into PHP?