robot Posted September 11, 2008 Share Posted September 11, 2008 Although I donot choose the Item. The item will be shown in my cart with amount=0. How can I change my code so that only selected item will be shown in my cart. if(isset($_SESSION[$line[0]])) { $menge = $_SESSION[$line[0]]; } else { $menge = 0; } Thanks Link to comment https://forums.phpfreaks.com/topic/123816-problem-with-session/ Share on other sites More sharing options...
Prismatic Posted September 12, 2008 Share Posted September 12, 2008 Gonna need to see some more code to help you out with this Link to comment https://forums.phpfreaks.com/topic/123816-problem-with-session/#findComment-639494 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.