How can I use a stored procedure in a MySql database with Zend Framework?

前端 未结 4 1305
無奈伤痛
無奈伤痛 2020-12-02 12:44

I\'m recently have learned to use Zend Framework. I did a simple CRUD application. But now I want to use a existing database for a more complex application and I want to kno

4条回答
  •  情书的邮戳
    2020-12-02 13:24

        $db = Zend_Db_Table::getDefaultAdapter();    
        $stmt = $db->query("CALL procedure()");
        $data = $stmt->fetchAll();
    

提交回复
热议问题