[PHPLIB] cart help needed From: Michael Waples (webmaster <email protected>)
Date: 10/23/99

I just got phplib working and was glad to find the cart class.
I did the following as a test which i called test.php3
<?
page_open(array("sess" => "Example_Session"));
$cart->add_item("apple", 3);
$cart->add_item("oranges", 2);
$cart->add_item("potato", 1);
$cart->show_all();
$cart->remove_item("apple", 1);
$cart->show_all();
page_close;
?>
which prints as expected but how do I keep the session active and use
the cart's content on another page?
say for example i had test2.php3 with-

$cart->remove_item("apple", 1);
$cart->show_all();

how would i link to it and what else would need to be on the page?

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.