Login   Register  
PHP Classes
elePHPant
Icontem

File: shopping_cart_test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of DavidLanz  >  Hippo Shopping Cart  >  shopping_cart_test.php  >  Download  
File: shopping_cart_test.php
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: 2005-07-25 00:41
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=davidlanz@mail.com&MemId=1>a123</a><br>";
  echo 
"Buy<a href=shopping_cart_1-1.php?products_id=a456&email=davidlanz@mail.com&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=davidlanz@mail.com>No MemId parsed</a><br>";
  echo 
"Buy<a href=shopping_cart_1-1.php?products_id=a123456&email=davidlanz@mail.com&MemId=1>None Exist Product</a><br>";
  echo 
"Buy<a href=shopping_cart_1-1.php?products_id=a123&email=davidlanz@mail.com&MemId=1234>None Exist User</a><br>";
  echo 
"<hr>";
  echo 
"<a href=shopping_cart_1-1.php?email=davidlanz@mail.com&MemId=1>View Shopping Cart</a><br>";
  echo 
"<hr>";
?>
</html>