Welcome Guest, Not a member yet? Register   Sign In
Refreshing re-enters the data in the db again and again. Help?
#4

[eluser]liesbetweenyoureyes[/eluser]
I am just loading a new view. I have not yet encounter redirect before.
Oh that's probably the reason why it goes again and again...

Yup my code has still some logical error but I am gonna fix it, thanks for the advice

also thanks for the idea guys! it worked using a redirect.

I have a question, umm so I put my redirect in the Controller and directs it to a new function there. Is it okay to put that in the controller or is it a better practice if it is in the Model as a function? Or either is okay? I'm still doubting my knowledge when it comes to MVC so I wanna ask you guys the best practice for it.


Messages In This Thread
Refreshing re-enters the data in the db again and again. Help? - by El Forum - 05-30-2012, 12:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB