You were close: 
session_register("varname");
The key thing to remember is that it's the variable name WITHOUT the $. so...
$variable = "Hello";
session_register("variable");


> > Hello,
>
> What is the correct syntax for registering a variable that's a part of an
> array. I tried these variations (i'm doing this in a loop):
>
> session_register('$form_val[$val]');
>
> session_register($form_val[$val]);
>
> This registers _something_, but not what I need. Thanks for any help!
>
> stas

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to