Thread: [SOLVED] Condictional Loop
View Single Post
  #1 (permalink)  
Old 11-06-09, 10:35 AM
protocode protocode is offline
Newbie Coder
 
Join Date: May 2009
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Condictional Loop

I do not have example code to post, for right now I am just thinking conceptually. What I can't figure out is how to loop values under a header (where the values are associated with the header).

Problem: Pulled information is displayed like this:

Value A_1, Value B_1, Value C_1
Value A_1, Value B_1, Value C_2
Value A_1, Value B_2, Value C_3

Desired Output:

Value A_1
Value B_1
Value C_1
Value C_2
Value B_2
Value C_3
The header (A_1) should display ONCE then the rest of the information display, repeatedly, until there is a change in the header.

Thank you in advance

Last edited by protocode; 11-06-09 at 10:43 AM.
Reply With Quote