On Thursday, June 13, 2002 at 7:44:39 PM, you wrote: > Yes, here is the checkout code I used...
> function chout(){ > session_destroy(); > unset ($mycart); > unset ($cart_items); > echo "<p>Thank you for shopping!</p>"; > } > Any suggestions? Try this... function chout(){ global $mycart, $cart_items; session_destroy(); unset ($mycart); unset ($cart_items); echo "<p>Thank you for shopping!</p>"; } And if it works, read this: http://www.php.net/manual/en/language.variables.scope.php -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php