Re: ecommerce - storing as an array or temporary record
| From: | Stuart J. Browne | Date: | Mon, 02 Apr 2001 05:57:15 +0000 |
| Subject: | Re: ecommerce - storing as an array or temporary record | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8115@lists.php.net to get a copy of this message | ||
> 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