sqlserver的连接
数据库连接的语句,connectionInfo = array("UID"=>$uid, "PWD"=>$pwd, "Database"=>"默认数据库名"); $conn = sqlsrv_connect($serverName, $connectionInfo); if( $conn === false ) { echo "Unable to connect."; die( print_r(s qlsrv_errors(), true)); } qlsrv_errors(), true)); }
用户评论