MissyMunchkin
12-07-2008, 01:47 PM
I have the tables all set up to organize my graphics.
now the code that numbers all the pages at the bottom (ex. PREV 1 2 3 NEXT)
so, I have my links set up like "index2.php?page=[enter page here]"
so for the numbering system I tried to do it like this -> index2.php?page=graphics/wallpaper.php?screen=
// page numbering links now
for ($i = 0; $i < $pages; $i++) {
$url = "index2.php?page=graphics/wallpaper.php?screen=" . $i;
$j = $i + 1;
echo " <a href=\"$url\">$j</a> ";
}
Now the layout is coming up perfectly, but none of the content with it.
you'll see what I mean -> http://www.colouredcandy.net/index2.php?page=graphics/wallpaper
now the code that numbers all the pages at the bottom (ex. PREV 1 2 3 NEXT)
so, I have my links set up like "index2.php?page=[enter page here]"
so for the numbering system I tried to do it like this -> index2.php?page=graphics/wallpaper.php?screen=
// page numbering links now
for ($i = 0; $i < $pages; $i++) {
$url = "index2.php?page=graphics/wallpaper.php?screen=" . $i;
$j = $i + 1;
echo " <a href=\"$url\">$j</a> ";
}
Now the layout is coming up perfectly, but none of the content with it.
you'll see what I mean -> http://www.colouredcandy.net/index2.php?page=graphics/wallpaper