Taking orders

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
EricS
Forum Contributor
Posts: 183
Joined: Thu Jul 11, 2002 12:02 am
Location: Atlanta, Ga

Taking orders

Post by EricS »

I'm working on a shopping cart in PHP 4.0.6 and MySQL 3.23.32.

The problem I haven't resolved yet is temporarily storing items customers have selected to buy till checkout.

The two solutions I've seen involve either session variables in PHP or temporary tables in mysql.

Which is the better of the two solutions for this particular application.

Also, when the customer get to the check out, the connection will change to a secure connections using a SSL certificate from Verisign. What if any problems may I encounter?

Thanks in advance.
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

Both are good solutions. You can have session's store the session values into a MySQL database, so you can in fact, use both sessions AND MySQL. :D
Post Reply