![]() |
Correct syntax for if AND/OR?
I can't figure out or find the correct syntax for an and/or form on the template conditionals.
|
Code:
<if condition="$foo == 'bar' AND $bar == 'foo'"> |
Okay. And stacked? Like say I want it to be if something or something and another something? Would it then be
PHP Code:
|
Treat it like algebra in maths - i.e. use brackets.
|
All times are GMT. The time now is 12:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|