Welcome Guest, Not a member yet? Register   Sign In
Ideal place for validation?
#1

[eluser]EEssam[/eluser]
Hello,

I'm wondering where is the ideal place for the submitted form validation; Controller or Model?

Please advise.
#2

[eluser]xwero[/eluser]
before the model. I've changed the CodeIgniter.php file to make that possible. This way you keep the it separate from the rest of your code.




Theme © iAndrew 2016 - Forum software by © MyBB