Welcome Guest, Not a member yet? Register   Sign In
Database classes for SQL Server 2005 and SQL Server 2008 (using php_sqlsrv.dll from the Microsoft Data Programmability t
#38

[eluser]ballmatic[/eluser]
I just got handed a project using PHP/CodeIgniter and SQL Server 2008 R2. I've downloaded and installed the Microsoft PHP+SQL 2.0 drivers and these unofficial drivers. I copied some of the code in here to fix some of the issues. But I'm having a problem with the offset options when paging.

Code:
$this->db->limit(10, 5);
$query = $this->db->get('table_name');

shorthand version doesn't work either:

Code:
$query = $this->db->get('jobs', 5, 10);

Doesn't give me the results back that I'm looking for. Am I doing something wrong?

Is there any sort of official support from EllisLab? Or anybody have ideas for making a 100% working driver? I've never done so much Google searching!


Messages In This Thread
Database classes for SQL Server 2005 and SQL Server 2008 (using php_sqlsrv.dll from the Microsoft Data Programmability t - by El Forum - 01-18-2012, 12:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB