Zend Frameworks $this->url() adding extra parameters - how to fix

what i was doing

echo $this->url(array('controller'='pages','action'='about'));

the correct way for zend framework $this->url links</p>

echo $this->url(array('controller'='pages','action'='about'),null,true);

thanks stackoverflow http://stackoverflow.com/questions/4215295/zend-framework-url-view-helper-adds-id-by-default

Justin Kelly

Justin Kelly

Web Developer, Business Analytics, Data Engineer specialising in PHP, ReactJS, Tableau, AWS RedShift and Matillion ETL

Based in Melbourne, Australia

Feel free to contact me justin@kelly.org.au or _justin_kelly

Leave a comment

Name Notify me of replies by email.