Hi,
I need a little help, a trace, to create a mini e-commerce page.
In few words I would like to:
a) create a session
b) create a temporary table for such session
c) save there the items selected by the costumer
When the user goes away from the website the table should be deleted.
If the user confirm the order I will take the lines in table and send them to me by e-mail.
This is what I want to get.
I know something about PHP session and someting about MySQL CREATE TEMPORARY TABLE of MySQL ... How could I match these two things ?
I have still not tryed but I have read that closing the DB connection means table deletion...I suppose that submit a form or link to another page in the web site means the same...
Shoul I use permanent connections ?
Thank you very much for any help about!
Fabio