leftJoin and whereRecordNumberInUrl

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

Re: [Perchpole] leftJoin and whereRecordNumberInUrl

By robin - May 25, 2011

Hey Perch,

You could use getLastNumberInUrl() instead. That will just return the number you need. Then you can use the fully qualified name in your where...
Something like:
"article.num='" . getLastNumberInUrl() . "'"
Hope that helps,
Robin
Robin
Programmer
interactivetools.com

Re: [robin] leftJoin and whereRecordNumberInUrl

By Perchpole - May 25, 2011

Spot on!

Cheers, Robin.

:oD

Perchpole