L
L
LittleFatNinja2015-07-31 16:40:45
PHP
LittleFatNinja, 2015-07-31 16:40:45

How to escape the output string from the {php} tags in smarty?

How to escape the output string from the {php} tags in smarty?
how to screen output from tags {php} echo 5; {/php}
in |esapce?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2015-07-31
@LittleFatNinja

{php} echo htmlspecialchars(5); {/php}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question