On Sun, 2 Nov 2003 14:06:31 -0500, you wrote:

>I have an array variable that is set, then put into a session
>variable. All is good so far, but how can I remove a specific variable
>from the array?

unset()

>I have tried basically copying and pasting this, and adding a foreach
>loop. Inside this foreach loop, the array is split apart and I tried
>using unnset, but I couldn't get it to work, so I deleted the code.

unset ($array[$index])

http://uk.php.net/unset

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

Reply via email to