there is an excellent tutorial with a coded example of a shopping cart using
sessions.
http://www.phpbuilder.com/columns/evert20000816.php3
only takes small mods to extend it so you can delete from cart as well.
Steve Brett
Internal Development
EMIS Ltd.
"Privileged and /or Confidential information may be contained in this
message. If you are not the original addressee indicated in this message (or
responsible for delivery of the message to such person), you may not copy or
deliver this message to anyone. In such case, please delete this message,
and notify us immediately. Opinions, conclusions and other information
expressed in this message are not given or endorsed by my firm or employer
unless otherwise indicated by an authorised representative independently of
this message."
Egton Medical Information Systems Limited. Registered in England. No
2117205.
Registered Office: Park House Mews, 77 Back Lane, Off Broadway, Horsforth,
Leeds, LS18 4RF
> -----Original Message-----
> From: Stuart J. Browne [mailto:[EMAIL PROTECTED]]
> Sent: 02 April 2001 06:57
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] ecommerce - storing as an array or temporary
> record
>
>
>
> > I am developing a script that will eventually be a "pay-to-list your
> whatever" script.
> > I am wondering if the best way to hold data throughout the
> four forms
> would be to hold
> > these in an array - each form would array_push() the vars into the
> $listing array.
>
> > Or would it be better to insert the records as they come in
> - each form -
> ?
> > I am thinking that one connection to the DB might be
> easiest to carry out.
>
> Why store them in a database?
>
> In any case, Serialize()/UnSerialize() and Sessions..
>
> bkx
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]