Connect to MSSQL 2005 using PHP
Here’s a couple of quick tips to connecting to a MSSQL 2005 server using PHP on a Windows webserver. You will need to enable the php_mssql.dll in your php.ini file. Here’s the code to connect to the server. <?php $conn = mssql_connect(‘my_server’, ‘db_username’, ‘db_password’); if (!$conn) { die(‘ERROR: Unable to connect to the database.’); }…