"IF condition" is this possible?

3 posts by 2 authors in: Forums > CMS Builder
Last Post: July 16, 2012   (RSS)

Re: [videopixel] "IF condition" is this possible?

By Jason - July 16, 2012

Hi,

You have the right idea, but you don't need the extra <?php ?> tags, since you are already inside a PHP block.

Try this:

<?PHP if ($record['sample'] == $myRecord['category']): ?>

This will compare $record['sample'] to $myRecord['category']

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] "IF condition" is this possible?

By videopixel - July 16, 2012

Thanks Jason!