pagination didn't work

#12
[eluser]marjune[/eluser]
Code:
function index(){
    $this->load->helper('form');
    $this->load->helper('url');
    $this->load->library('pagination');
    $config['base_url'] = base_url().'furoms/';
    $config['per_page'] = '5';
    $config['uri_segment'] = 3;
    $config['total_rows'] = $this->db->count_all('forum_topic'); // 9 records result
    $config['open_tag'] = '<p>';
    $config['close_tag'] = '</p>';
    $this->pagination->initialize($config);
    $furomcontent['data'] = $this->furom->furomcontent($config['per_page'], $config['uri_segment']);
    $this->load->vars($furomcontent);
    $this->load->view('viewfurom');
            
}


Messages In This Thread
pagination didn't work - by El Forum - 11-05-2009, 09:08 PM
pagination didn't work - by El Forum - 11-05-2009, 09:25 PM
pagination didn't work - by El Forum - 11-05-2009, 09:36 PM
pagination didn't work - by El Forum - 11-05-2009, 09:43 PM
pagination didn't work - by El Forum - 11-05-2009, 09:54 PM
pagination didn't work - by El Forum - 11-05-2009, 10:09 PM
pagination didn't work - by El Forum - 11-06-2009, 02:37 AM
pagination didn't work - by El Forum - 11-06-2009, 06:27 AM
pagination didn't work - by El Forum - 11-06-2009, 07:05 AM
pagination didn't work - by El Forum - 11-08-2009, 07:54 PM
pagination didn't work - by El Forum - 11-08-2009, 08:50 PM
pagination didn't work - by El Forum - 11-08-2009, 08:53 PM
pagination didn't work - by El Forum - 11-08-2009, 09:18 PM
pagination didn't work - by El Forum - 11-08-2009, 10:11 PM
pagination didn't work - by El Forum - 11-08-2009, 10:29 PM
pagination didn't work - by El Forum - 11-08-2009, 10:33 PM
pagination didn't work - by El Forum - 11-08-2009, 10:39 PM
pagination didn't work - by El Forum - 11-08-2009, 10:42 PM
pagination didn't work - by El Forum - 11-08-2009, 10:44 PM
pagination didn't work - by El Forum - 11-08-2009, 10:46 PM
pagination didn't work - by El Forum - 11-08-2009, 11:03 PM
pagination didn't work - by El Forum - 11-08-2009, 11:06 PM
pagination didn't work - by El Forum - 11-08-2009, 11:11 PM
pagination didn't work - by El Forum - 11-08-2009, 11:28 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.