shoul i use redirect or view if validation error exists? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: shoul i use redirect or view if validation error exists? (/showthread.php?tid=55577) |
shoul i use redirect or view if validation error exists? - El Forum - 11-01-2012 [eluser]Unknown[/eluser] when should i use redirect and view? after user submit a form to a function called add(), there's a validation inside of it, what should i do? redirect back to a function that display my registration form or should i load->view() and if registration success should i make a new function that display a successful page or should i load->view inside the add function. i am so confuse. pls help. thanks. shoul i use redirect or view if validation error exists? - El Forum - 11-02-2012 [eluser]PhilTem[/eluser] Please no double- or cross-posting. Go to your very similar thread |