Welcome Guest, Not a member yet? Register   Sign In
How to show a preview / confirmation page before writing the form to the database
#11

[eluser]JeremyApp[/eluser]
Someone correct me if this is a bad way to do it, but I generally use flashdata for this purpose.

Flashdata is a part of the CI session library that stores temporary variables, usually for the next request only (optionally the next two requests). I will usually write the inputted data to flashdata and then display it on the next page. Since it should be valid for another request, I can either choose to write it to the database or discard.

http://ellislab.com/codeigniter/user-gui...sions.html - see "Flashdata"


Messages In This Thread
How to show a preview / confirmation page before writing the form to the database - by El Forum - 02-19-2009, 10:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB