I currently have a list (
Dont know whether this is what @llia meant, but what about have the for loops like this:
//declare how many columns are needed
$cols=2;
//iterate over each row of entries (down the column)
for ($i=0;i<$count;i+=cols){
echo "";
//entry loop (across the row)
for($j=0;j<$cols;j++){
//whose line is it anyway?
$uid = $areaArray[$i+$j];
echo "- {$users[$uid]->profile_lastname}
";
}
//end entry loop
echo "
";
}
//end row loop
that way, you can set however many columns you like.
Forgive me if I missed something as I'm waiting for the kettle to boil to get my much needed caffine!