If num=? do this - help required

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

By (Deleted User) - April 23, 2011

Hello,

Similar to the php at the start of the page where I have

'where' => "num='80",

How would I put this into practice on the page itself. So lets say.

If num = 80 do this
<?php echo $listing_pagesRecord['title'] ?>

If num = 81 do this
<?php echo $listing_pagesRecord['title_long'] ?>

But all nicely in one long <?php if query??

Thanks for your help.

Jono

Re: [gkornbluth] If num=? do this - help required

By (Deleted User) - April 23, 2011

Works just as requested - thanks!