- Joined
- Nov 26, 2006
- Messages
- 310
- Reaction score
- 21
I got everything up and running with wamp, but I'm stuck at connecting.
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: POP-NVGO60RPW0P\SQLEXPRESS in C:\wamp\www\reg.php on line 10
What do I do to get it to connect? I've tried every user and pass combo possible, none give results.
edit: By the way, I've tried both wamp and AppServ.
PHP:
$mssql_user = "sa";
$mssql_pass = "*****";
$mssql_database = "GunZDB";
$mssql_host = "POP-NVGO60RPW0P\SQLEXPRESS";
$conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass) or die("");
mssql_select_db($mssql_database) or die("");
What do I do to get it to connect? I've tried every user and pass combo possible, none give results.
edit: By the way, I've tried both wamp and AppServ.