ansal Posted April 2, 2017 Report Posted April 2, 2017 Hello, I need to use an if statement in my email template to compare two values using "equal to" how can i do that ? {% if id = 1 %} This will print out if $id = 1 {% endif %} Quote
0 Abdy Posted April 2, 2017 Report Posted April 2, 2017 {% if id == 1 %} This will print out if $id = 1 {% endif %} https://github.com/speedmax/h2o-php/wiki/Built-in-tags Paul, Michael and Blesta Addons 3 Quote
Question
ansal
Hello,
I need to use an if statement in my email template to compare two values using "equal to" how can i do that ?
{%
if
id = 1 %}
This will
print
out
if
$id
= 1
{%
endif
%}
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.