I have the following PHP, I'm using WAMP, and as in the image below, the dll's are active:
<?php$server="dblinx";
$connection = array("Database"=>"Linx", "UID"=>"root","PWD"=>"root");
$conn = sqlsrv_connect($server, $connection);
if ($conn) {
echo "Connected!";
} else {
echo "Connection failed<br>";
die( print_r(sqlsrv_errors(),true));
}
?>
However, this always appears when I try to open the page:
Cananyonehelpme?
IalreadyaddedtheextensionsinPHP.ini