This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » SQL and Databases » How to connect to MSSQL with PHP
Reply

How to connect to MSSQL with PHP

Hans Kiesouw
Freaking Member



Since: 03 Jan 2004
Posts: 82
Posted 15 Apr 2009 10:47:12

I am having problems setting up a connection to a MS SQL server using PHP. I have tried to changes the string in the Connections folder to use mssql_connect, rather than mysql_connect and set the various parameters, but keep getting an error the the server does not exist.
I have edited the php.in file to use php_mssql.dll and for good measure, also copied the dll to the Windows directory.

I am using DW CS4 and any help with this will be appreciated.
Thanks
Hans
Edited by - Hans Kiesouw on 15 Apr 2009  10:47:53

I am having problems setting up a connection to a MS SQL server using PHP. I have tried to changes the string in the Connections folder to use mssql_connect, rather than mysql_connect and set the various parameters, but keep getting an error the the server does not exist.
I have edited the php.in file to use php_mssql.dll and for good measure, also copied the dll to the Windows directory.

I am using DW CS4 and any help with this will be appreciated.
Thanks
Hans
Edited by - Hans Kiesouw on 15 Apr 2009  10:47:53

Reply to this topic

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency