Welcome Guest, Not a member yet? Register   Sign In
Form validation in codeigniter does not seem DRY
#3

(This post was last modified: 10-24-2015, 10:11 AM by arma7x.)

Why you need 2 controller for insert data. Just put logic operation in controller, etc. if the validation run===false then load view of form & populate error message, else insert data & redirect to view new data. Example in documentation http://www.codeigniter.com/user_guide/tu...items.html
KeepĀ calm.
Reply


Messages In This Thread
RE: Form validation in codeigniter does not seem DRY - by arma7x - 10-24-2015, 10:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB