shorty3 Posted August 26, 2009 Share Posted August 26, 2009 i have this code: <? $forum_count = 3; function index_navigation($index, $count, $num) { $forum = $_GET['forum']; if ($index != 0) { print "<a href=\"left.php?forum=".$forum."&forum_look=" . ($index - $count) . "\">Previous</a> "; } if ($num == $count) { print " <a href=\"left.php?forum=".$forum."&forum_look=" . ($index + $count) . "\">Next</a>"; } } if (! isset($forum_look) ) { $forum_look = 0; } ?> page goes here with this at the bottom <?php index_navigation($forum_look, $forum_count, $num); ?> Its currently Previous And Next But i Want it to show pages like --- Previous 1 2 3 4 (etc) Next Link to comment https://forums.phpfreaks.com/topic/172030-need-help-next-previous-page/ Share on other sites More sharing options...
shorty3 Posted August 26, 2009 Author Share Posted August 26, 2009 if you need more info then just ask Link to comment https://forums.phpfreaks.com/topic/172030-need-help-next-previous-page/#findComment-907127 Share on other sites More sharing options...
shorty3 Posted August 26, 2009 Author Share Posted August 26, 2009 Any Body? i just need a little help Link to comment https://forums.phpfreaks.com/topic/172030-need-help-next-previous-page/#findComment-907147 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.