RE: [PHP] Changing a variable's value when a link is clicked

From: Date: Fri, 26 Jul 2002 15:04:48 +0000
Subject: RE: [PHP] Changing a variable's value when a link is clicked
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109743@lists.php.net to get a copy of this message
[snip] Is there a way to change the value of a global variable when someon clicks a <a href> URL link on a web page? [/snip] If the variable is sent via GET i.e.; http://something.com/foo.php?bar=stuff then you could; $bar = $_GET['bar']; //where $bar is the global to be changed, $bar would now = stuff HTH! Jay Next mood swing…6 minutes ************************************* * Want to meet other PHP developers * * in your area? Check out: * * http://php.meetup.com/ * * No developer is an island ... * *************************************

« previous php.general (#109743) next »