Welcome Guest, Not a member yet? Register   Sign In
Why isn't this working "db clauses"
#1

[eluser]JayArias[/eluser]
Code:
$members = $this->db->get('members');
    $this->db->where('role_id', '1');
    $this->db->orderby('id', 'asc');
    $this->db->limit('5');

Its not retaining the 5 user limit and its showing all users when I specified role_id =1. How can i fix this?
#2

[eluser]JayArias[/eluser]
Mod, please close this topic. I was a noob and didn't bother reading the doc i got it now.




Theme © iAndrew 2016 - Forum software by © MyBB