MS-SQL 2008 R2 not working with XAMPP 1.7.7 [SOLVED]
Posted: 08. December 2011 21:23
I noticed that someone else had issues with getting XAMPP to work with MS-SQL Server 2005 (http://community.apachefriends.org/f/viewtopic.php?f=16&t=49124). I followed that thread with interest, as I'm unable to get XAMPP to work with my MS-SQL Server 2008 R2, even after I followed the same instructions.
As of right now, I do not have the code set up to give me a specific reason for the error; just a simple JavaScript alert saying whether it works or not.
Here is the code that is not working. Any suggestions would be greatly appreciated.
Thanks,
^_^
As of right now, I do not have the code set up to give me a specific reason for the error; just a simple JavaScript alert saying whether it works or not.
Here is the code that is not working. Any suggestions would be greatly appreciated.
- Code: Select all
$conn = mssql_connect( 'STONEHENGE\MSSQLSERVER', 'username', 'password');
if( $conn ) {
$statusMsg= "Database connection works.";
}else{
$statusMsg= "Database connection is NOT working.";
}
Thanks,
^_^