4
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 calling 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, but I want to know how I get that value sent via get
which in that case would be 5
for example:
public function editar_user(){
// comando pegar valor get 5
$this->load->view('admin/editar_user');
}
How I take the amount get
?
Thanks, I’m doing some tests when it works :)
– Silvio Andorinha
@Silvioandorinha I haven’t used CI for a long time, I believe it is. But I have a certain passion for being a first framework. rs
– Ricardo
Okay... it worked
– Silvio Andorinha