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

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

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