How to create correct reference with parameters in view in Zend Framework
Hi I'm new to Zend Framework 1.12. I want to create a link that simulates the same result than when the form is submitted in the Get method.
When I submit my form the generated url mysite.com/mymodule/mycontroller/myaction?steps%5B%5D=3
How can I create this link in the view except in this ugly way:
<a href="<?php echo $this->baseUrl('mymodule/mycontroller/myaction?steps%5B%5D=3'); ?>">
My link
</a>
Maybe by passing an array to something like this?
+3
source to share
2 answers