Multiple OR Statements?
3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 24, 2015 (RSS)
Quick question...
I have tried both of these and neither works
<?php if ($pagesRecord['grid_nav'] ==0 || $pagesRecord['product_layout'] ==0): ?>
<?php if ($pagesRecord['grid_nav'] ==0 or $pagesRecord['product_layout'] ==0): ?>
any ideas?
By Damon - September 24, 2015
Try this:
<?php if (($pagesRecord['grid_nav'] ==0) || ($pagesRecord['product_layout'] ==0)): ?>
Cheers,
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/