Re: Delete from cart
| From: | Chris Lee | Date: | Fri, 16 Feb 2001 21:41:13 +0000 |
| Subject: | Re: Delete from cart | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40229@lists.php.net to get a copy of this message | ||
are you using a spec cart system? or did you write your own? its hard to
give an accurate answer without knowing. Ive wrote my own simple cart, using
sessions, to delete an item I just unset the variable.
unset($stockno['1234']);
where $stockno is an session array variable. its very spec on what software
your using.
--
Chris Lee
Mediawaveonline.com
em. lee@mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
"Gary" <deadfred@2sie4.com> wrote in message
news:3A8D8B39.4020208@2sie4.com...
> Hi All,
> It is Friday afternoon here and I don't want to have to reinvent the
> wheel. What would be the easiest way to delete an item from a shopping
> cart? I know what is required for Mysql but I am stumped on how to
> implement it.
>
> TIA
> Gary
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>