Re: Variable passed not working

From: Date: Wed, 16 Apr 2003 21:21:00 +0000
Subject: Re: Variable passed not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144194@lists.php.net to get a copy of this message
*This message was transferred with a trial version of CommuniGate(tm) Pro* Try using $HTTP_GET['jobID']; Or $jobID = $HTTP_GET['jobID']; Rolf Brusletto www.phpexamples.net Info@Best-IT wrote:
*This message was transferred with a trial version of CommuniGate(tm) Pro* I have a link set to <a href=\"$PHP_SELF?jobID=$id\">click here</a> $id is set to $jobID's position in the array. When I click on the link I get the exact same page. Using isset($jobID) I know that the variable is not defined. Although when I hover over the link I can see that jobID=0 or jobID=5 (depending what it's position is). I have also set $jobID as a global variable... Any ideas how I can get $jobID get its value from this link? /T


« previous php.general (#144194) next »