CodeIgniter Forums

Full Version: fields
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

sorry guys for this question, im just a beginner in web and in PHP, but right now im improving, im saving my data from fields to database, and i don't want those fields, to remember the data, just for security..hope you can help me with this..tnx

El Forum

Do you mean after the user has clicked 'Submit' the form still has the values in it?


Do you mean after the user has clicked 'Submit' they can refresh the page and it will submit again?

If you mean the first one then the fields are only being re-populated because you told them to. My advice would be not to send them back to the form once they have submited.

If you mean the second, then the solution is rather more complex. Have a look at this post

I don't know if anyone has any better ideas for this one, its a difficult issue to solve.