Confused?

From: Juan (mexicansensation2004_at_yahoo.com)
Date: 12/30/03


Date: 30 Dec 2003 14:48:25 -0800

Just to let you know im a beginner at PHP and MySQL. Im trying to
create a shopping cart and when i use this following script im keep
getting to where it says "There are no items in your cart" but i do
have something in my cart.. so if there is anyway that anyone can help
me plz let me know thanks alot...
<?php
  //include our function set
  include ('book_sc_fns.php');

  // The shopping cart needs sessions, so start one
  session_start();

  do_html_header('Checkout');
  
  if($HTTP_SESSION_VARS['cart']&&array_count_values($HTTP_SESSION_VARS['cart']))
  {
    display_cart($HTTP_SESSION_VARS['cart'], false, 0);
    display_checkout_form();
  }
  else
    echo '<p>There are no items in your cart</p>';
 
  display_button('show_cart.php', 'continue-shopping', 'Continue
Shopping');

  do_html_footer();
?>


Quantcast