Welcome Guest, Not a member yet? Register   Sign In
Pagination dont work

Hi, im trying to make pagination, but the pagination is "fine" with some problem.... i think the problem is with the function model, the problem is that i see all my records and i see the pagination too..but dont go to the next pages with next records...and dont show the 5 records by pages

function columnas(){
        $query = $this->db->get();
        return $query->result();

function columnas(){
        $config['base_url'] = base_url().'index.php/admin/panel/columnas/paginas/';
        $config['total_rows'] =  $this->panel_model->contar_columnas();
        $config['per_page'] = '5';
        $data['query'] = $this->panel_model->columnas();
        $data['page'] = $this->config->item('FAL_template_dir').'template_admin/panel/columnas';

Theme © iAndrew 2016 - Forum software by © MyBB