Hi
We have a script for images and we need help expanding the script to automatically make pages after every 50 imgs.
All I figured out is that I need to something like:
$numofpages = ceil($allimgs / $imgsperpage);
if (!$page ||) {echo "No Back"} else {echo "<a href='?page='.$page - 1.'>"}
for ($i=0; $i>=numofpages; $i++)
{
echo "<a href='?page=$i'>";
}
if (!$page ||) {echo "No Next"} else {echo "<a href='?page='.$page + 1.'>"}
^ That will give me a list of number of pages. But how the hell do I make the script stop at every $grabsperpage???
What's next????
If you are willing to help us, I will e-mail you our script.
THANKS!!!
PS also, if there's a not-too-complcated script, which just displays images and stuff in one php with automatically paging, please post a link to it. Thanks Alot!!!