Print array in Smarty

1
2
<pre>
{$foo|@print_r}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
How to display the content of an array in Smarty. Like print_r() in PHP

1 Response

No conocía esa plataforma

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.