09-06-2016, 01:34 PM
Hi Mudmin,
Thank you very much for the reply! I'm thinking of replacing the mysqli connection in userspice with the code below. Is there anything else I need to do in order not to break anything?
$serverName = "serverName\sqlexpress"; //serverName\instanceName
// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( "Database"=>"dbName");
$conn = sqlsrv_connect( $serverName, $connectionInfo);
Thanks a lot!
Angel
Thank you very much for the reply! I'm thinking of replacing the mysqli connection in userspice with the code below. Is there anything else I need to do in order not to break anything?
$serverName = "serverName\sqlexpress"; //serverName\instanceName
// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( "Database"=>"dbName");
$conn = sqlsrv_connect( $serverName, $connectionInfo);
Thanks a lot!
Angel