October 23, 2024
Chicago 12, Melborne City, USA
PHP

RainTPL3 if or check


I need to check two variables in RainTPL3, and it should only show them if the either one is true. So I would want something that checks them:

I already tried the following, after asking ChatGPT, since I could not find any good documentation sources about RainTPL:

{if="$var1!='00:00' || $var2!='00:00'}
<p>
{$var1} - {$var2}
</p>
{/if}



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video