_jamz
New Member
- Messages
- 3
- Reaction score
- 0
- Points
- 0
Hi friends, I'm currently running a MSSQL on my computer, and when i try to connect the database via a php script all i got is a blank white php page. Any idea what when wrong?... Or is there some additional component i need to install so that my computer can allow php access or smth?... :dunno:
Code:
<?php
$dbhost = "theIPgoeshere"; $dbuser = "theusernamegoeshere"; $dbpass = "thepasswordgoeshere";
@mssql_connect($dbhost,$dbuser,$dbpass)or die("error");
@mssql_select_db("test2")or die("error");
?>