Guest User

Untitled

a guest
Oct 18th, 2017
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Smarty 0.32 KB | None | 0 0
  1. <table name="Testtabelle" border="1px">
  2.  
  3. <tr>
  4.     <th>Spalte 1</th>
  5. </tr>
  6.  
  7. {foreach from=$arr item=index} {*Kommentar: Hier beginnt die foreach-Schleife an die das Array übergeben wird. *}
  8. <tr>
  9.     <td>{$index}</td> {* Hier wird eine neue Zelle mit dem Inhalt des aktuellen Index aus dem Array erstellt. *}
  10. </tr>
  11. {/foreach}
Add Comment
Please, Sign In to add comment