Re: [PHP] How to unregister a single array item...

2002-11-20 Thread Nick Eby
"Nick Eby" <[EMAIL PROTECTED]> wrote : > that will work just fine. think of it this way- the array $item is > registered (and maybe unregistered) with the session, but its elements > aren't individually registered with the . just register/unregister the > array, and otherwise work with

Re: [PHP] How to unregister a single array item...

2002-11-20 Thread Nick Eby
"@ Nilaab" <[EMAIL PROTECTED]> wrote: > Hello, > How do I unregister a single array item from an array? For example: > > > session_start() > session_register("item"); > > $item['name'] = "Some Name"; > $item['img'] = "some_image_name.jpg"; > $item['desc'] = "Some Description"; > $item['price'] = 40

[PHP] How to unregister a single array item...

2002-11-20 Thread @ Nilaab
Hello, How do I unregister a single array item from an array? For example: session_start() session_register("item"); $item['name'] = "Some Name"; $item['img'] = "some_image_name.jpg"; $item['desc'] = "Some Description"; $item['price'] = 400; // Now I want to get rid of the desc array item. // I