Ok, i have a better question this time around:
I output some results returned by a query, I put them in a table row by rinning a loop. I also separate each output row by a spacer row
foreach (blah) {
<tr>
<td>spacer</td>
<tr>
<tr>
<td>OUTPUT HERE</td>
<tr>
}
Now, some of my results can have the same attribute recorded in db. I would like to skip spacer row while outputting results with the same parameter, so that the spacers basically separate groups rather then individual results.
How would i go about that?...