使用PHP连接到SQL server 2014 management studio

使用PHP连接到SQL server 2014 management studio,php,asp.net,sql-server,database,Php,Asp.net,Sql Server,Database,有没有办法用PHP连接到Microsoft的SQL server 2014 management studio 我可以用ASP.NET连接到同一个数据库,但是我没有看到任何关于如何用PHP连接到这种数据库的在线信息。我看到的只是Mysql,而不是SQL server 2014 management studio和PHP 这就是我到目前为止通过PHP连接的内容 <?php> $myServer = "LALA"; $myDB = "LGWeb"; // connection to d

有没有办法用PHP连接到Microsoft的SQL server 2014 management studio

我可以用ASP.NET连接到同一个数据库,但是我没有看到任何关于如何用PHP连接到这种数据库的在线信息。我看到的只是Mysql,而不是SQL server 2014 management studio和PHP

这就是我到目前为止通过PHP连接的内容

<?php>
$myServer = "LALA";
$myDB = "LGWeb";

// connection to database
$dbhandle = msql_connect($myServer)
    or die("couldn't connect to SQL Server on $myServer");
// select database to work with
$selected = mssql_select_db($myDB,$dbhandle)
    or die("couldn't connect to database - $myDB");
if (isset($_POST['submitted'])){
    include('')





}// end of main if

?>

不需要用户名和密码吗?@nanis不需要用户名或密码。
<connectionStrings>
    <add name="LALAConnectionString" connectionString="Data Source=LALA;Initial Catalog=LGWeb;Integrated Security=True"
     providerName="System.Data.SqlClient" />


  </connectionStrings>