gazalec Posted May 4, 2007 Share Posted May 4, 2007 Hi i was just wondering what would be the best way to achieve a shopping basket, i was wondering if setting up a temporary database table while they are logged in would be a good idea or simply have a table set aside for them and they can then process, save or cancel the items in the basket, i was just really wondering if there is any major issues i am overlooking or if there is a better way to do it Quote Link to comment Share on other sites More sharing options...
taith Posted May 4, 2007 Share Posted May 4, 2007 when i set up my basket... i find that the best, least tempermental way of doing it... is to use $_SESSION[cart][]=array(productid=>"",quantity=>"",...); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.