basically, i've created a automatic staff list, so when i add a member to the panel they are added to the list, however, at the minute, they are getting squeezed in until theres no more room, how do i make it so that after 4 people are added it starts a new line?
This is the PHP
<?php
$showit = mysql_query("SELECT * FROM `staff` WHERE `rank` = 'Management' ORDER BY `id`");
while($row = mysql_fetch_array($showit)){
echo "<td align='center'>";
echo "<img src=http://www.habbo.co.uk/habbo-imaging/avatarimage?user=".$row["habboname"]."&action=0&direction=3&head_direction=3&img_forma t=gif&gesture=0&size=s>";
echo "<br><b>".$row["habboname"]."</b><br><i>".$row["position"]."</i></td>";
}
So i need to know, how i could make it miss a line after 4 users have been added and then display 4 more etc.
Help is greatfully appreciated. +rep
Tim,.






Reply With Quote
