Validation |
Because you are redirecting, killing your data.
PHP Code: if($validation->run()) I think you can use withInput() but then you need to use the old() function as well or use the form_helper for everything. https://codeigniter.com/user_guide/gener...l#redirect https://codeigniter.com/user_guide/gener...s.html#old Take a look at the tutorial. https://codeigniter.com/user_guide/tutorial/index.html PHP Code: public function create() |
Messages In This Thread |
Validation - by pippuccio76 - 08-04-2020, 12:08 PM
RE: Validation - by jreklund - 08-04-2020, 12:25 PM
RE: Validation - by pippuccio76 - 08-17-2020, 06:47 AM
RE: Validation - by jreklund - 08-17-2020, 09:09 AM
RE: Validation - by pippuccio76 - 08-17-2020, 09:57 AM
RE: Validation - by jreklund - 08-21-2020, 11:50 PM
|