Connecting php 7.2 to MS SQL using sqlsrv
I'm trying to get a connection to MS SQL up and running via PHP on my machine. I'm running IIS, have PHP 7.2 installed and MS SQL Express 2017. I have my basic web page running but when I click to open the PHP page, the connection does not work. session_start(); echo "Hello "; if (isset($_POST['submit'])) { $_SESSION["server"] = $_POST['server']; $_SESSION["database"]= $_POST['database']; $_SESSION["username"] = $_POST['username']; $_SESSION["password"] = $_POST['password']; echo $_SESSION["database"]; //CONNECTION $serverName = $_SESSION["server"]; $connectionInfo["Database"] = $_SESSION[