html - Zend link Button -


how can 1 create link particular action, tried method below not working properly, bare in mind have folder countaing controller, admim/controller/action

<button type="button"><a href="<?php echo $this->url(array('controller' =>'smme', 'action' => 'client'))?>">previous</a></button> 

thanks in advance

for example, can that:

$button = new zend_form_element_button('button'); $button->setattrib('id', 'bouton'); $button->setlabel('previous'); $button->setattrib('onclick', "parent.location='" . zend_controller_front::getinstance()->getbaseurl() .'/smme/client' ."'"); 

Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -