Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

twig if statement

{% if temperature > 18 and temperature < 27 %}
    <p>It's a nice day for a walk in the park.</p>
{% endif %}
Source by twig.symfony.com #
 
PREVIOUS NEXT
Tagged: #twig #statement
ADD COMMENT
Topic
Name
8+6 =