This code displays how many other pictures a user has on my site. What do I have to do to have it so that the other pics (10 total) break onto 2 lines (5 on one line and the other 5 links right below it)??? Thanks in advance!!!
if ($numimages > 1) {
$otherpics = "Other pictures for this user ($numimages total): <br>";
$i=1; while ($i <= $numimages) {
$imid = mysql_result($imgresult,$i-1,"id");
if ($newid != $imid) $otherpics .= "<a href=\"".$indexphp."?id=".$imid."&c=".$c."&rnum=".$rnum."\">";
$otherpics .= "Pic".$i;
if ($newid != $imid) $otherpics .= "</a>";
$otherpics .= " ";
$i=$i+1;
} $otherpics.= "<br><br>"; }