JanBro wrote:
Hi List,
I'm using PHP5 with global variables off. I've got around 20 dynamically
generated forms with a total of 300 different variables sent thru these
forms. I'd like to use variable variables, but according to the manual this
is not possible.
Now comes my Questoin, how do I receive my variables which have the form
$a_123 or $a_124[]. Is there a workaround for PHP5 or PHP in general?
Who do I make $data = $_REQUEST['a_123'] work ??? I'd hate to set global
variables to on, as I'm dealing with sensitive data.
$form_var = 'a_123';
$data = $_REQUEST[$form_var];
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php