Jump to content

Problem with session


robot

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.