[development] Unsetting array elements?
Nick Wilson
nick at communicontent.com
Wed Sep 20 16:22:40 UTC 2006
Hi everyone,
Im having a spot of bother working out how to unset an array contained
in a session.
This:
unset($GLOBALS[HTTP_SESSION_VARS][partners_upload][$adId]);
does NOT work,
neither does using $_SESSION instead of HTTP_SESSION_VARS -- when i
query the sessions table, the 'partners_upload' array still contains the
$adId element (which itself is an array).
Can anyone suggest where i might be going wrong here?
many thanks..
--
Nick Wilson
http://performancing.com/user/1
More information about the development
mailing list