S
smashhell
Guest
I am trying to create a shopping cart with PHP and couldn't decide which to use.
Is it better to store the cart info in a session/cookie, than use the info to look up product in database to sent to admin.
Or is it better to store all the cart info in the database and work it from there ?
Which way of creating the shopping cart is simpler and which is better ? Are there any better ways of doing it?
Thank you very much !
*p.s. No advertisement for shopping cart software please ! I want to make it myself.
Is it better to store the cart info in a session/cookie, than use the info to look up product in database to sent to admin.
Or is it better to store all the cart info in the database and work it from there ?
Which way of creating the shopping cart is simpler and which is better ? Are there any better ways of doing it?
Thank you very much !
*p.s. No advertisement for shopping cart software please ! I want to make it myself.