Welcome Guest, Not a member yet? Register   Sign In
How use class pagination with Join ?
#1

[eluser]Gravedigger[/eluser]
Hi,
i have a question.
How to use class pagination with a sql join ?

Code:
$this->db->select('*');
$this->db->from('blogs');
$this->db->join('comments', 'comments.id = blogs.id');

$query = $this->db->get();
I can't bet in
Code:
get('blogs', $num, $offset)
Can you help me please Wink


Messages In This Thread
How use class pagination with Join ? - by El Forum - 01-14-2011, 05:16 AM
How use class pagination with Join ? - by El Forum - 01-14-2011, 05:28 AM
How use class pagination with Join ? - by El Forum - 01-14-2011, 06:58 AM
How use class pagination with Join ? - by El Forum - 01-14-2011, 02:43 PM
How use class pagination with Join ? - by El Forum - 01-14-2011, 03:26 PM
How use class pagination with Join ? - by El Forum - 01-14-2011, 03:35 PM
How use class pagination with Join ? - by El Forum - 01-14-2011, 04:44 PM
How use class pagination with Join ? - by El Forum - 01-14-2011, 05:24 PM
How use class pagination with Join ? - by El Forum - 01-14-2011, 06:08 PM
How use class pagination with Join ? - by El Forum - 01-14-2011, 06:29 PM
How use class pagination with Join ? - by El Forum - 01-14-2011, 06:48 PM
How use class pagination with Join ? - by El Forum - 01-15-2011, 06:45 AM
How use class pagination with Join ? - by El Forum - 01-15-2011, 08:38 AM
How use class pagination with Join ? - by El Forum - 01-15-2011, 12:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB