Re: register globals changed to off, script breaks

From: Date: Thu, 30 Sep 2004 20:10:41 +0000
Subject: Re: register globals changed to off, script breaks
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198338@lists.php.net to get a copy of this message
On Thu, 30 Sep 2004 14:33:30 -0400, Kevin Coyner <kevin@rustybear.com> wrote: > What does work is: > > $cid = $_GET($varname); > > But that is only for when a single variable is passed, not when a bunch > of them get passed and need to be put into an array. $_GET is already an array, why reassign to another array at all? Unless you need to mangle the values, I'd just use the $_GET array as it is. Meanwhile, you might want to look at print_r($_GET) to see if it actually contains what you think it's supposed to. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/

« previous php.general (#198338) next »