title: Best way to implement shopping cart using PHP/MySQL
body: <p>I'm working on a customer's website, and they've asked for a shopping cart. They need to use securetrading.net for the payment, so I don't need to ask for any credit card details. All I need to do is keep track of the items in their cart.</p>
  
  <p>I've read about using PHP sessions, but I'm concerned about security there. Is this not a problem if the only information I'm storing is product codes and quantities? Otherwise, is it worth using a MySQL database?</p>
  
  <p>I'm sorry if this seems like an obvious thing to know, but this is my first time implementing this kind of thing!</p>