I have two actions in my controllers and one action takes a post item and then gets $id as per that which I would like to pass to the second action that is view($id)
How can I achieve this?
I have two actions in my controllers and one action takes a post item and then gets $id as per that which I would like to pass to the second action that is view($id)
How can I achieve this?
any ideas?
This way you can pass as GET variable
$this->redirect(array('view','id'=>$id));
Thanks