I want to know the basics of building a shopping cart. I have searched for tutorials but they are all pretty complex to understand. I have not done this before so I need all help I can get. I do know a little about it though.
I want the user to be able to shop without logging in.
I want the items that the user buys to be stored in session variables. And when he is done shopping I want the variables to be added to the database.
Let's start with this question.
The user browse to my shop. What is the first thing I need to do? I suppose I must start a session?
I'm using MySQL as the database.