LPodolski

PHP, MySQL, JS, Symfony, linux, bash programing

  • Contact me
  • Interesting
  • Symfony features Reference
  • Tech news
  • Usefull Linux commands
  • Usefull tools

Search

Recent Posts

  • PostgreSQL drop and recreate database
  • Linux server todo, first things, first 5 minutes on HTTP server
  • check linux, ubuntu version
  • Delete millions, large number of files on FTP / SFTP / FTPS server, like in hetzner storage box
  • Javascript, iterate over key and value in JS

Categories

  • JS
  • Linux
  • Main
  • PHP
  • Ubuntu

for key value twig

January 21, 2020 by LPodolski·0 Comments

to iterate over both key and value in for loop

{% for key, value in listOfKeyValueArray %}

Post navigation

Previous Previous post: JS changing URL, refresh page
Next Next post: JS fixed number of decimal places
Contact me