Help wth Syntax ...can anyone help...

3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 19, 2016   (RSS)

By Dave - October 19, 2016

Hi kitka, 

The quotes can be tricky, how about this: 

'where' => " `hide_listing` = '0' AND `content` = 'cobourg' AND `property_type` = 'condo' ",

Uses backticks (`) for the field names, single quotes (') for the values, and double quotes (") for the entire string.  With some added whitespace to make it easier to read.

Let me know if that works for you.

Dave Edis - Senior Developer
interactivetools.com

By kitka - October 19, 2016

THANKS DAVE... THAT WORKED...

jim albert