|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
pun Smarty n00b
Joined: 09 Jan 2005 Posts: 2
|
Posted: Sun Jan 09, 2005 10:57 am Post subject: 2dimensionales Array -> {html_table} |
|
|
Hallo,
Kann ich mit dem {html_table} überhaupt ein Array einer SQL Abfrage
ausgeben? Oder ist dies nur über 2 verschachtelte section zu reichen?
Ausgabe sollte das Array in Zeilen und Spalten darstellen 3x9.
Danke für Hinweise, Daniel |
|
Back to top |
|
ZakMc Smarty Pro
Joined: 04 Oct 2004 Posts: 182
|
Posted: Wed Jan 12, 2005 8:21 am Post subject: |
|
|
Wenn ich mir die Beschreibung anschaue würde ich sagen ja, habe es aber selber noch nie benutzt
http://smarty.php.net/manual/de/language.function.html.table.php
Ich selber benutze immer die 2 section Lösung. Da bei der 2 section Lösung ich mir keine gedanken um die Parameter im td machen muss. Wenn der Designer dort ein class oder sonst was drin haben will kann er das im Template amchen und ich muss nicht immer mein assign ändern. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|