PHP MS SQL connection (Dreamweaver cs6)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tutu saint
    New Member
    • Jun 2011
    • 21

    PHP MS SQL connection (Dreamweaver cs6)

    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 CS6 and any help with this will be appreciated.
    Thanks
    George
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    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.
    so, do you have a MSSQL server on your machine? PHP can only provide the functionality to connect to an existing one, but it does not create one out of nothing.

    Comment

    Working...