-----Original Message----- From: Douglas Douglas To: [EMAIL PROTECTED] To get the superglobal array ($_GET or $_POST), I try to build these strings '_'.$method. I'm sure this part works, PHP builds the string _GET or _POST according to the $method parameter. I use ${'_'.$method} to get the contents of the superglobal. But this piece of code doesn't work.
-------------------------- Well, it won't, because there's a prominent warning on the manual page (http://www.php.net/language.variables.variable) that says: "Please note that variable variables cannot be used with PHP's Superglobal arrays. This means you cannot do things like ${$_GET}." Cheers! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php