Coding Advice

From: Date: Wed, 21 Jul 2004 14:51:37 +0000
Subject: Coding Advice
Groups: php.general 
Request: Send a blank email to php-general+get-191319@lists.php.net to get a copy of this message
Hello, I am writing an app and right now im working on code that will display x number of items on one page, and if there is overflow, provide a link to the next. The url coming into the page looks something like: projects.php?action=view&completed=no&start=0 My code so far, i just took the $_SERVER['REQUEST_URI'] and added start=newstart to the end. The problem is, i will eventually get a string thats very long, ebcause start keeps appending onto the end. What is the easiest way to preserve projects.php?action=view&completed=no and be able to add start=somenumber to the end? Thanks for your assistance. -- Aaron Axelsen aim: aaak2 email: lists@frozenpc.net

« previous php.general (#191319) next »