Include Multi-value choice in "where" clause

12 posts by 3 authors in: Forums > CMS Builder
Last Post: April 2, 2014   (RSS)

By Chris - April 2, 2014

I should mention thatĀ if you're using CMS Builder version 2.50 or newer, you can use the contains() function instead of strpos(), but note well that the order of the needle and haystack arguments are flipped:

ANDĀ contains("\t" . $record['insured_claim_type'] . "\t", $user['experience'])

All the best,
Chris