Re: [PHP-DB] Building a Shopping Cart

2001-04-10 Thread Dime
Simply, sessions. Look on php.net for some tutorials about sessions, that's what you're gonna need. You could do it simply by setting cookies in the users browser, but sessions work better. As I understand it, sessions also set a cookie in your browser, but only one which identifies the owner

Re: [PHP-DB] Building a Shopping Cart

2001-04-10 Thread Rick St Jean
It all depends how you have your set up. Are all customers permanent or are they temporary? assign the customer a session id, or cookie depending on how you want to store this, and then insert the user in to the users table when they add an item to the basket, and add the item to a basket tabl

Re: [PHP-DB] Building a Shopping Cart

2001-04-10 Thread Ron Brogden
At 03:17 PM 4/10/2001 -0400, Matt Braynard wrote: >I'm trying to build a shopping cart and am unsure of how to track what each >visitor has purchased as they shop. How do I track what items they add as >they move through the online catalog adding things and then checkout. Make a table that repres