Quote:
Originally Posted by emptiness
With oracle ??
i have add :
PHP Code:
class Albums extends Zend_Db_Table_Abstract { protected $_name = 'SAGA.ALBUM'; protected $_primary = 'ID'; protected $_sequence = false; }
and not work
With a fetchall is ok!!!!!
thanks
|
Yes, I'am use Oracle DB.
Why commented this??
PHP Code:
$this->view->album = $album->fetchRow('ID='.$ID);
In
PHP Code:
f ($ID > 0) {
// only render if we have an id and can find the album.
!!! //$this->view->album = $album->fetchRow('ID='.$ID);
$row = $album->fetchRow($album->select()->where('ID='.$ID));
and do it
PHP Code:
var_dump($del); var_dump($ID); and $var_dump($row);