zend framework database 2
摘要:3. Zend_Db_Select using query to fetch rowset. // Create the Zend_Db_Select object $select = $db->select(); //if inside the table class $db is $this->_db; $this->_db is setted in the Initializer.php ...
阅读全文
zend framework database 1
摘要:1. Before use database we must configurate database information first. We can use config.ini file containing the DB info. And use function Zend_Config_Ini() to get the file content. config.ini file: ...
阅读全文