Hey, what's the best way to create a page system? My problem is I have a lot of images (around 30) on 1 page that just goes straight down, what's the best way to make some sort of page system that puts like 5 images per page with 6 pages or something like that? My code so far is below:
$getcollist = mysql_query("SELECT * FROM itemdb WHERE 1");
while($getcol = mysql_fetch_array($getcollist)) {
echo "<table cellspacing=1 cellpadding=1 style=\"border-collapse: collapse\" bgcolor=#FFFFFF>";
echo "<tr><td></td>";
echo "<td bgcolor=#CB3131 width=100 height=120><center><a href=fimages/$getcol[ftype]/$getcol[ifile] target=_blank><img src=fimages/$getcol[ftype]/$getcol[ifile] width=80 height=100 border=0></a></td>";
echo "<td></td>";
echo "<td valign=top bgcolor=#D8ECFC width=250><font size=1 face=verdana><b>Description:</b><br>$getcol[fdesc]<br><b>Composition:</b><br>$getcol[fcomp]<br><b>Specification:</b><br>$getcol[fspec]<br><b>Width:</b><br>$getcol[fwidth]<br><b>Type:</b><br>$getcol[ftype]</td>";
echo "<td></td>";
echo "</table><br>";
}