oh sorry, I didn't realize you wanted the results to be populated in columns.
I don't know php well. but I could tell you my idea.
i guess that {section} is the part where the loop runs
so before {section} you define a variable, for example, count and assign it a value 0
and add a main table
var $count=0;
<table>
//then add your {section} line
{section name=att loop=$rs_label}
if( $count==0)//if count =0 then start a new row
{
<tr>
}
<td>
//inside this td tag put your table of class "stat"
<table class="stat" border = "0" width="auto">
/* put the rest of your table here*/
</table>
<td>
//then add 1 to count
$count++;
//check if count reached 3 , which is the number of columns you want, then reset to 0
if($count==3)
{
$count=0;
//now close the row tag which is </tr>
</tr>
}
//now close your section then your table tag
{/section}
</table>
I hope this will help. As I said, I don't know php well, but I think I got the variable declaration correct. Anyway, double check my php syntax and tell me how it went.
Good luck!