phpsql1 Posted May 16, 2007 Share Posted May 16, 2007 I am working on a web site using html, php and mysql. I am dividing the page to sections (Personal info section, Project Section, figure section…) I have each section on a separate page. I want to give the user the possibility to save the information he entered and finish it later on. Can any 1 throw some hints? Should I save the entered data in the same database and keep track of the (page/section) where he stopped at, or save the info in a separate (‘temporary’) database and once he’s done parse this data to the permanent database. Thanks Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted May 16, 2007 Share Posted May 16, 2007 safest method would be to save the data in a temp table or normal table and when the visitor returns to the page simple fill the form in with what was entered previously. EASIEST method would be to use sessions and store info in there - this requires the client to have cookies enabled (which is most but still some may not!) Quote Link to comment Share on other sites More sharing options...
john010117 Posted May 17, 2007 Share Posted May 17, 2007 Wrong section. But yes, saving the data in a database will be helpful. But try not to use cookies. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.