Thread
:
Condition in templates
View Single Post
#
10
(
permalink
)
08-20-08, 12:22 PM
Nico
Community Leader
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
Wrap the condition in parenthesis. This works for me:
PHP Code:
{if (
$foo
==
true
OR
$bar
==
true
)}
__________________
Zend Certified Engineer
|
My Twitter
|
HotScripts' Blog
|
HotScripts' Twitter
|
How to ask questions the smart way
Nico
View Public Profile
Visit Nico's homepage!
Find all posts by Nico