Confused?
From: Juan (mexicansensation2004_at_yahoo.com)
Date: 12/30/03
- Next message: Tony Harrison: "Re: dynamic web page creation"
- Previous message: CountScubula: "Re: counting number of characters then inserting this number of spaces in a string"
- Next in thread: Janwillem Borleffs: "Re: Confused?"
- Reply: Janwillem Borleffs: "Re: Confused?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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();
?>
- Next message: Tony Harrison: "Re: dynamic web page creation"
- Previous message: CountScubula: "Re: counting number of characters then inserting this number of spaces in a string"
- Next in thread: Janwillem Borleffs: "Re: Confused?"
- Reply: Janwillem Borleffs: "Re: Confused?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]