Jump to content
New Reality: Ads For Members ×

Can PHP integrate with microsoft sql by using mysqli?


FooKelvin

Recommended Posts

Hi,

Is that possible to connect to microsoft sql server by using mysqli?

 

Currently i connected by using sqlsrv.

 

For example,

$serverName = "servername.com"; //serverName\instanceName
$connectionInfo = array("Database" => "DB1", "UID" => "user99", "PWD" => "12345");
$conn = sqlsrv_connect($serverName, $connectionInfo);

i have try quite some time to use mysqli to connect. But I keep getting errors..

 

 

Thank You

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.