• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
after insert database, how to clear form field values

#1
[eluser]Jeyakumar[/eluser]
Hi,

Once submit the form, I load the model. In the model, execute the query for update the field values into the database.

After that I load another view. But I refresh the page means once again the old datas are update into the database.

How I delete the catched datas after updating?

#2
[eluser]davidbehler[/eluser]
Try making a redirect after updating/inserting your values.

#3
[eluser]Jeyakumar[/eluser]
thanks waldmeister.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.