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
没有评论:
发表评论