I've upgraded to PHP 5.2.6 and im running SQL Server Express 2005. Trying to get a simple query from the SQL server to display in a PHP page, i have the MSSQL module showing up in the phpinfo() page and im running the code below, its not givign any errors just keeps printing out the message i have put if for the 'or die' clause.
Any ideas or help is always appreciated.
PHP Code:
<?
php $dbusername = 'sa';
$dbpassword = 'adm1n';
$servername = 'ADMINSQLEXPRESS';
$myDB = 'testdb';
$link = mssql_connect ($servername,$dbusername,$dbpassword) or die('Unable to connect to database.');
?>