>
> Ok, I think I found the answer. Let me know if this is the "right"
> way to do
> it. I put everything I want inside the same conditional group in
> the same
> where() call, like this:
>
> $select = $select->where('firstname LIKE ? OR lastname LIKE ?',
> 'Paul');
> $select = $select->where('gamedate ?', '2010-06-25');
Yes, this is the best way to do this particular expression, given the
simple interface of Zend_Db_Select.
Regards,
Bill Karwin
没有评论:
发表评论