Apply for Zend Framework Certification Training

Zend Framework 1

Step 1 Call list of Data as Explained in previous Tutorials Then create an function
           to retrieve id to delete
public function deleteAction()
    	$auth = Zend_Auth::getInstance();
    	$param= array("host"=>"localhost","username"=>"root","password"=>"","dbname"=>"zend");
    	$db= new Zend_Db_Adapter_Pdo_Mysql($param);
    	$sql="delete from employee where id='".$request->getParam('id')."'";

< Login form in zend framework 1 Zend Framework: Simple Acl Front Controller Plugin >

Ask a question

  • Question:
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question

Back to Top