viewer-functions question. Lookup based on two separate conditions.

2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 7, 2008   (RSS)

By MisterJim - August 7, 2008

In viewer_functions.php there is an array parameter written as:

'orWhere' => '', // optional, adding " OR ... " to end of where clause

My question is what does one do if they want to do an AND query using 'where' ? Would it be possible to have a 'andWhere' -- or something similar? If not, is there a way to do an array lookup where you want to base the lookup on two conditions being true?

Jim
WebCamp One, LLC



Websites That Work