@lottie
To get more than one parameter using CodeIgniter, you can use the following methods:
1 2 |
$param1 = $this->uri->segment(3); $param2 = $this->uri->segment(4); |
1 2 |
$param1 = $this->input->get('param1'); $param2 = $this->input->get('param2'); |
1 2 |
$param1 = $_GET['param1']; $param2 = $_GET['param2']; |
By using these methods, you can easily get multiple parameters in CodeIgniter and use them in your controller or model.