How can I refresh the page, changing one parameter of the GET string?
Say I’m on this page:
/my/page?foo=bar&asd=qwe
And in the controller, I have this variable:
$var = array('foo' => 'woof');
How can I use that variable to redirect to this page?:
/my/page?foo=woof&asd=qwe
Or if I’m on this page:
/my/page
Using that variable, how do I get to this page?:
/my/page?foo=woof
If I understand well, what you want to do is the following: