[SOLVED]Php & mssql
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.
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:
<?
php = 'sa';
= 'adm1n';
= 'ADMINSQLEXPRESS';
= 'testdb';
= mssql_connect (,,) or die('Unable to connect to database.');
?>