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 tried: session_unregister("item[desc]"); // But that didn't work. However, I had some luck with: unset($item['desc']); // Is there another way? // What is the best way to take this out of the session // of the array that I registered above as $item? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php