Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

twig get array key name

{% for key, value in array %}
    {{ key }} - {{ value }}
{% endfor %}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #twig #array #key
ADD COMMENT
Topic
Name
3+9 =