Try putting "" around name in session_register?
> Hello, I have captured variables from any HTML that is POSTed to me from a
> 'foreach' clause. Now, possibly in this foreach clause I want to register
> these name/value pairs into a session var. I have tried :
> session_start();
> foreach ($HTTP_POST_VARS as $name=>$value) {
> $name=$value;
> session_register(name); //without the $
> }
> and get nothing.
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-Pushkar S. Pradhan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to