What's the best approach to create a shopping cart.? Cookies? Submit
buttons passing _post values? Or create session values? I have a bit of
code to get that started. It won,t be a complicated site:
http://testesp.flsh.usherbrooke.ca/db/index.php - want to allow visitors
check off the titles they want to store and then have a check out where
I'll header it all into a txt file.
session_name("ESLpostcard");
session_start();
session_register("yourname");
if (isset($HTTP_POST_VARS["yourname"])) $yourname =
$HTTP_POST_VARS["yourname"];
--
John Taylor-Johnston
-----------------------------------------------------------------------------
"If it's not Open Source, it's Murphy's Law."
' ' ' Collège de Sherbrooke:
ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/
- 819-569-2064
°v° Bibliography of Comparative Studies in Canadian, Québec and Foreign Literatures
/(_)\ Université de Sherbrooke
^ ^ http://compcanlit.ca/ T: 819.569.2064
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php