View Single Post
  #4  
Old 25th May 2009, 13:56
TheHippy's Avatar
TheHippy TheHippy is offline
Member
 
Join Date: May 2009
P2P
Posts: 3
Default
the problem is in browse.php
Code:
    <tr>

<?
$i = 0;
foreach ($cats as $cat)
{
    $catsperrow = 7;
    print(($i && $i % $catsperrow == 0) ? "</tr><tr>" : "");
    print("<td class=bottom style=\"padding-bottom: 2px;padding-left: 7px\"><input name=c$cat[id] type=\"checkbox\" " . (in_array($cat[id],$wherecatina) ? "checked " : "") . "value=1><a class=catlink href=browse.php?cat=$cat[id]>" . htmlspecialchars($cat[name]) . "</a></td>\n");
    $i++;
}
you could do something like this (not tested though)

Code:
<tr>
<td>
$i = 0;
foreach ($cats as $cat)
{
    print("<span style=\"padding-bottom:2px; padding-left:7px text-align:left; width:30px; float:left;\"><input name=c$cat[id] type=\"checkbox\" " . (in_array($cat[id],$wherecatina) ? "checked " : "") . "value=1><a class=catlink href=browse.php?cat=$cat[id]>" . htmlspecialchars($cat[name]) . "</a></span>\n");
    $i++;
}
<br />
then find under it
Code:
    </tr>
    </table>
and change it to

Code:
</td>
    </tr>
    </table>
something like that i think should do it dude.. you might have to tinker a couple of times to get it working exactly right
Reply With Quote