Welcome Guest, Not a member yet? Register   Sign In
pdo with sqlsrv
#1

[eluser]Unknown[/eluser]
it seems that pdo with sqlsrv is broken.

In the documentation of the pdo-sqlsrv driver there is the connection describe like this:

Code:
$conn = new PDO( "sqlsrv:server=(local) ; Database = $database", "", "");

But Codeigniter try some like this:


Code:
$conn = new PDO( "sqlsrv:server=(local) ; [b]dbname[/b]= $database", "", "");

Also the result is not running. CI always try to use LIMIT inside the sql statements. But the sqlsrv canĀ“t understand this...




Theme © iAndrew 2016 - Forum software by © MyBB