here i want to display images according to the numbers given
here is my view page

<div class="limiter hidden-xs">
                                            <option selected="selected" value="">9</option>

                                            <option value="">12</option>
                                            <option value="">24</option>
                                            <option value="">36</option>
                                        per page        

my controler section is this

public function look_book() 
        $config['base_url'] = base_url().'roxcontrol/look_book';
        $config['per_page'] = 9;
        $config['uri_segment'] = 3;
        $config['total_rows'] = $this->roxmodel->count_gallery();

        $data['page_links'] = $this->pagination->create_links();

my model page looks like this

public function get_gallery($num,$offset)

      return $query->result();

i want to diplay according to the selected please help me

Member Avatar

ANy chance of you explaining what's not working? Dumping your code and asking a vague question ain't much help. Getting any errors?