Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- ?>
- <!DOCTYPE HTML>
- <html lang ="pl">
- <head>
- <title>Car company</title>
- <meta charset="utf-8"/>
- <meta http-equiv="X-UA-Compatible" content ="IE=edge,chrome=1" />
- <link rel="stylesheet" href="styles.css" type="text/css" />
- </head>
- <body>
- <?php
- $array["shopping_cart"] = $_SESSION["shopping_cart"];
- foreach ($array["shopping_cart"] as $value) {
- print_r($value);
- echo join(',',$value);
- echo $_SESSION["shopping_cart"]["quantity"];
- ?>
- </br>
- <?php
- echo $array["shopping_cart"];
- print $array["shopping_cart"];
- }
- ?>
- </br>
- <?php
- ?>
- <?php
- if(isset($_SESSION['fail']))
- echo $_SESSION['fail'];
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement