• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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