[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?