mssql Database connection string

  • Answered
When I write the connection string mssql_connect(DBHOST, DBUSER, DBPASS) in a php webpage it errors out stating undefined function mssql_connect(). Is this the correct connection string to a sql server from php?
Hello, Thank you for contacting us about coding a connection string. Please see the official PHP guide on mssql_connect, as it provides examples along with an in-depth explanation. If you have any further questions, feel free to post them below. Thank you, John-Paul B