![]() |
can you have multiple evaluation in a template conditional?
I have the following php code that I'm trying to convert into a template conditional. Can this be done?
PHP Code:
HTML Code:
|
You would write it as (only a single = after the condition):
HTML Code:
<if condition="$firstGameTime != $cutoffDateTime && !firstGameExpired"> |
Code:
<if condition="$firstGameTime !== $cutoffDateTime && !$firstGameExpired"> |
Interesting...... here are the differences in the two operators from this page:
Code:
$a != $b Not equal TRUE if $a is not equal to $b. |
All times are GMT. The time now is 03:29 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:
|