PHP Classes

File: shopping_cart_test.php

Recommend this page to a friend!
  Classes of DavidLanz   Hippo Shopping Cart   ???   Download  
File: ???
Role: Example script
Content type: text/plain
Description: shopping cart demo first page
Class: Hippo Shopping Cart
Manage shopping cart of products stored in MySQL
Author: By
Last change:
Date: 19 years ago
Size: 1,236 bytes
 

Contents

Class file image Download
<?php
 
require('shopping_cart_DBVar.php');
?>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $header_language;?>">
    <meta http-equiv="Pragma" content="<?php echo SHOPPING_PRAGMA_CACHE; ?>">
    <title>
      Simulate products_id, email and MemId
    </title>
    <script language="javascript" src="js/shopping_cart.js"></script>
  </head>
<?php

 
echo "Buy<a href=shopping_cart_1-1.php?products_id=a123&[email protected]&MemId=1>a123</a><br>";
  echo
"Buy<a href=shopping_cart_1-1.php?products_id=a456&[email protected]&MemId=1>a456</a><br>";
  echo
"<hr>";
 
  echo
"Buy<a href=shopping_cart_1-1.php?products_id=a123&MemId=1>No email parsed</a><br>";
  echo
"Buy<a href=shopping_cart_1-1.php?products_id=a456&[email protected]>No MemId parsed</a><br>";
  echo
"Buy<a href=shopping_cart_1-1.php?products_id=a123456&[email protected]&MemId=1>None Exist Product</a><br>";
  echo
"Buy<a href=shopping_cart_1-1.php?products_id=a123&[email protected]&MemId=1234>None Exist User</a><br>";
  echo
"<hr>";
  echo
"<a [email protected]&MemId=1>View Shopping Cart</a><br>";
  echo
"<hr>";
?>
</html>