Welcome Guest, Not a member yet? Register   Sign In
TOHIN and create jquery pagination?
#1

[eluser]SaSa[/eluser]
i not know how must use of TOHIN. did you can tell me example?<br>
i read about it content(posts) in codeIgniter Forum and CodeIgniter AJAX Pagination Example/Guideline, but not know how must use of TOHIN for create a jquery pagination in CodeIgniter?<p>
not know in codeIgniter Forum post #3, what is this model:
Code:
$this->load->model('model')


my code:

Code:
function show()
        {
        $this->load->library('Jquery_pagination');
        
            $this->admin_model->header();
            
            $this->load->library('pagination');
    
            $config['base_url'] = 'show';
            $config['total_rows'] = '200';
            $config['per_page'] = '2';
            $this->pagination->initialize($config);
            $data['pagination'] = $this->pagination->create_links();
            
            $data['query_select'] = $this->db->query('SELECT @rownum:=@rownum+1 rownum, t.* FROM (SELECT @rownum:=0) r, hotel_submits t order by id desc');
            
            $this->load->view('admin/accommodation_submit_show', $data);  
        }
With respect
#2

[eluser]phpxpert[/eluser]
Download the file from https://github.com/neotohin/CodeIgniter-...on-Library, there is a README.txt file it explains how to use it

all the best




Theme © iAndrew 2016 - Forum software by © MyBB