I am sending a value get
through a link for example:
<a href="/admin/editar_user/5">Editar</a>
And there in the method of my controller that calls the view I get:
public function editar_user(){
$this->load->view('admin/editar_user');
}
So far he's calling the view the way I wanted it, but I want to know how I get that value sent via get
which in this case would be 5
For example:
public function editar_user(){
// comando pegar valor get 5
$this->load->view('admin/editar_user');
}
How do I get the value get
?