wkilc Posted July 16, 2008 Share Posted July 16, 2008 Howdy, Trying to implement a paging script. The example shows how to use a "static" page name to create the link "NEXT" and "PREV" links... $page_name="index.php"; print "<a href='$page_name?start=$next'><font face='Verdana' size='2'>NEXT</font></a>";} I want to make it so that the page name that appears on the link is dynamic, at any given time, it might be queried like this: index.php?category=Toyota I tired this, but it didn't work: $page_name = $HTTP_SERVER_VARS['PHP_SELF']; I'm a noob, if it's not obvious. Thanks in advance. ~Wayne Link to comment https://forums.phpfreaks.com/topic/115041-simple-paging-script/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.