Limit display results by database selection

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 9, 2011   (RSS)

Re: [degreesnorth] Limit display results by database selection

By robin - June 8, 2011

Hey,

That looks about right, but you should flip some of those quotes around. Like this:

"where" => " section='health'",

The where parameter uses a SQL condition, and SQL uses single quotes for values. So single quotes should be on the "inside".

Hope that helps,
Robin
Robin
Programmer
interactivetools.com

Re: [robin] Limit display results by database selection

By degreesnorth - June 9, 2011

Perfect, thanks!