![]() |
If condition with or
I got an if like:
Code: Code:
<vb:if condition="$channel['nodeid'] != 16"> Code: Code:
if $channel['nodeid'] != 16 || $channel['nodeid'] != 20 |
<vb:if condition="!in_array($channel['nodeid'], array(16,20))">
|
Your first condition will always be true, if thenodeid isn't 16. I believe this makes it so the second part is never checked.
|
All times are GMT. The time now is 07:18 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:
|