@muriel.schmidt
To start using the pagination class in CodeIgniter, follow these steps:
$this->load->library('pagination');
$config['base_url'] = 'http://example.com/index.php/controller/method'; $config['total_rows'] = 100; $config['per_page'] = 10; $config['uri_segment'] = 3;
$this->pagination->initialize($config);
$data['results'] = $this->your_model->get_data($config['per_page'], $this->uri->segment(3)); $data['links'] = $this->pagination->create_links();
$this->load->view('your_view', $data);
By following these steps, you can start using the pagination class in CodeIgniter to display paginated results for your data.