You are registered $array as session, You need to unset() element. I think it should work. Regards, -- Yasuo Ohgaki ""Tobias Talltorp"" <[EMAIL PROTECTED]> wrote in message 9bd8un$kqt$[EMAIL PROTECTED]">news:9bd8un$kqt$[EMAIL PROTECTED]... > I know how to unset a specific value in an ordinary array: > unset ($array["one"]); > How do I do this if my array is in a session? > > Here is my code: > <? > session_start(); > $array = array(one=> "number one", two=> "Number two", three=> "Number > three"); > session_register("array"); > ?> > > I tried this... Didn't work: > <? > session_start(); > session_unregister("array[one]"); > ?> > > Thanks, > // Tobias Talltorp > > > > > -- > 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] > -- 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