For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > January 2008 > Forms submitting to a session array









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Forms submitting to a session array
Thomas

2008-01-13, 7:00 pm

I'm trying to create a shopping cart where users can visit a product pag=
e =

(called from a MySQL database depending on the url ending in =

?product_id=3D#). On the product page users can select options from drop=
down =

lists (such as color, etc.) These dropdown lists are also dynamically =

generated from the database.

I need to store what the user has selected while the user browses the =

site. I want to also display what they've selected on a "cart" page.

I believe my best option is to store what they've selected in a session =
=

array. I'm not sure how to do this with the dropdown lists, etc.

Any help would be greatly appreciated!

-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com