Answer the question
In order to leave comments, you need to log in
How to correctly write a condition in the smarty template engine?
Hello, there was a problem with composing a condition in smarty, namely this.
{if isset($_SESSION['id'])}
Вы успешно авторизовались!
{elseif empty($_SESSION['id'])}
{$auth}
{/if}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question