
Originally Posted by
ServerStorm
Hi Debbie,
Others will have differing views on this and will say to store it in sessions, or do it this way or that way...
Personally, I would serialze the form data and write it to the database. Then I would pull it from the database using AJAX that calls a php script that returns a preview of this data. I would store in the Session the Id of the serialized data in your table so that you know what serialized record to get, and then I would use AJAX again to post this data to a php script that writes it too the database.
Using this method the user will never leave the page and can preview and commit (or cancel) too.
Regards,
Steve
Bookmarks