Passing arguments to the same script

From: Date: Mon, 02 Dec 2002 03:35:19 +0000
Subject: Passing arguments to the same script
Groups: php.general 
Request: Send a blank email to php-general+get-126665@lists.php.net to get a copy of this message
Hello, I'm sure this is easy, but I'm drawing a blank. I need to have links at the bottom of the page that passes arguments to the same script (itself) when it gets reloaded. How do we do this? I have the links like this now: <a href="index.php?samples"> How do I determine what is passed? I need to do an "if" statement with different outputs depending on the argument. if ($samples) { do something } ?? But I can't get anything to work. How do I do it in PHP? (I have no forms, just links)

« previous php.general (#126665) next »