Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

sessionvariables

  1. rajko

    PHP I dont know why my product isnt showing up in my shoppingcart when i press buy, btw i work with session variables

    this is my idfk.php i have markt the buy button. <?php session_start(); // Initialize the cart session if it hasn't been set if (!isset($_SESSION['cart'])) { $_SESSION['cart'] = array(); } // Check if the product ID is passed via GET request if (isset($_GET['productId'])) { $productId =...
Back
Top Bottom