This is my html view file:
<?php foreach($this->application as $row): ?>
<tr>
<td><?php echo $row['APPID'];?></td>
<td><?php echo $row['APPNAME'];?></td>
">DELETE
This my zend framework controller deleteAction
:
public function deleteAction()
{
$form = new ApplicationForm();
$form->submit->setlabel('Delete');
$this->view->form = $form;
$ID = $this->_getParam('ID', 0);
$delete_app = new Application()
$delete_app->deleteApp($ID);
$this->_helper->redirector('index');
}
Currently my delete action is working fine. Now before the delete is executed I want to add a user confirmation with yes | no
options.
How can I do this?