Re: [PHP] $_SESSION variables

2009-10-24 Thread Lester Caine
Ron Piggott wrote: Instead of doing: $_SESSION['order'][$reference]['quantity'] = 0; Is there a way to get remove that part of the array altogether? unset? unset($_SESSION['order'][$reference]['quantity']); Can't seem to reach php.net to confirm, but I use it myself ;) -- Lester Caine - G8H

Re: [PHP] $_SESSION variables

2009-10-24 Thread Phpster
27;quantity'] = 0; if the customer changed their mind about buying an item. Is there a way to remove the session variable altogether? Ron -Original Message- From: Ashley Sheridan Reply-to: a...@ashleysheridan.co.uk To: ron@actsministries.org Cc: PHP General Subject: Re: [PH

Re: [PHP] $_SESSION variables

2009-10-24 Thread Ron Piggott
heridan Reply-to: a...@ashleysheridan.co.uk To: ron@actsministries.org Cc: PHP General Subject: Re: [PHP] $_SESSION variables Date: Sat, 24 Oct 2009 12:52:17 +0100 On Sat, 2009-10-24 at 07:52 -0400, Ron Piggott wrote: > Instead of doing: > > $_SESSION['order'][$reference][

Re: [PHP] $_SESSION variables

2009-10-24 Thread Ashley Sheridan
On Sat, 2009-10-24 at 07:52 -0400, Ron Piggott wrote: > Instead of doing: > > $_SESSION['order'][$reference]['quantity'] = 0; > > Is there a way to get remove that part of the array altogether? > > Ron > > I don't understand your question.. Thanks, Ash http://www.ashleysheridan.co.uk

[PHP] $_SESSION variables

2009-10-24 Thread Ron Piggott
Instead of doing: $_SESSION['order'][$reference]['quantity'] = 0; Is there a way to get remove that part of the array altogether? Ron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php