📜  php sql server 连接 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:53.639000             🧑  作者: Mango

代码示例2
$serverName = "serverName\sqlexpress"; //serverName\instanceName
$connectionInfo = array( "Database"=>"dbName", "UID"=>"userName", "PWD"=>"password");
$conn = sqlsrv_connect( $serverName, $connectionInfo);