RE: [PHP-DB] ecommerce - storing as an array or temporary record

From: Date: Mon, 02 Apr 2001 08:20:34 +0000
Subject: RE: [PHP-DB] ecommerce - storing as an array or temporary record
Groups: php.db 
Request: Send a blank email to php-db+get-8122@lists.php.net to get a copy of this message
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:stuart@promed.com.au] > Sent: 02 April 2001 06:57 > To: php-db@lists.php.net > 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: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.db (#8122) next »