Hello,
I have developed a small website using PHP and some of the methodogy needs
to be changed. Currently an idividual must go through several steps to
save an item to be ordered. The information is to create a custom chart for
a person and so I need the chart type, first and last name number of copies,
size of chart, etc.... Currently, this is all stored in a number of session variables
and then when they click add to cart the information is written to a MySQL database table. They can also add several items to the shopping cart and then never finish the order. That is somewhat Ok, except when the people never finish the ordering and so the records are in general orphaned in the database and must be manually cleaned up.
I am in need of a better way/approach to save the information and only write the several items to the database table if they complete the ordering process.
I feel like my Session variables are getting to be to many in use? I don't know how to create an array of records in PHP if that can be done. If it can how do you pass an array between pages and from http: to https: pages?
I think PHP is great, but, just kind of jumped in to get things done and now I need to get them working the best way possible.
Thanks for you assistance.
Kim