How to display the same data once in a loop
Fredde | Posted 1:02am 8. September 2004 Server Time |
I have a minor problem with querying two tables, one table containing articles and one containing headers for the articles table. What I'm trying to do is that I want to display the header only once and then display the articles belonging to that particular header underneath.
Something like:
'looping throught the articles
Header 1
Contents 1
Contents 1
Contents 1
Header 2
Contents 2
Contents 2
Contents 2
etc
' end loop
Thanxxx in adv |
EiSa | Posted 4:15am 8. September 2004 Server Time |
Search the forum for datashaping and you will find your solution. There are other solutions also, but this one is pretty easy to use.
Kodo | Posted 6:04am 9. September 2004 Server Time |
yeah, data shaping is cool shit. Though I haven't used it but a handful of times, it comes in really handy when you need it.
Reply to Post How to display the same data once in a loop
|
|
|