title: Creating a simple shopping basket in PHP using session variables
body: <p>I am getting very confused with ISSET, GET and SESSIONS, trying to create a simple shopping basket. I have a link "Add to basket", under each of my items, when clicking this I want to start a session for the cart, and add that item to the basket, so my item amount variable will increment to one and the price will start with the value of the selected item. I have a mini shopping cart at the top of the page where I want these values to update as items are selected. </p>
  
  <p>I made a mess of my code and deleted it all to start again, before I do I was hoping for some advice, I have read up on carts and sessions for a week now. I have a database that contains products and information such as range, category and price etc. I also have links in the mini basket which will clear the basket and also open the basket in a web page to provide more detail. </p>