2009年8月9日星期日

Re: [fw-db] update Zend_Db_Table_Abstract

Üdv,

This issue was raised several times, however you still can't do this.
You can do:

$db->quoteInto($db->quoteInto('person_id = ? AND isactive = ?',
$personId, null, 1), $isActive, null, 1)

or, in this case a much more appropriate solution:

'person_id = ' . intval($personId) . 'AND isactive = ' . intval($isActive).


Ádám

没有评论: