0

Already changed file php.ini And the index.php file contains:

<?php
$server = 'name/SQLEXPRESS';
$link = mssql_connect($server, 'namepc', 'pw');
if (!$link) {
    die('Something went wrong');
}
?>

And the error message on the localhost is:

Warning: mssql_connect() [function.mssql-connect]:. (severity 14)

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: Something went wrong

4

1 に答える 1

0

Already made it! Just create a new usser on managment studio and linked it the new accound to your php code.

于 2012-04-18T16:53:49.760 に答える