![]() |
Codeigniter 2.1.0: validation_errors() not displaying - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Codeigniter 2.1.0: validation_errors() not displaying (/showthread.php?tid=54288) |
Codeigniter 2.1.0: validation_errors() not displaying - El Forum - 09-01-2012 [eluser]Unknown[/eluser] I followed the user guide and I browsed/followed the instructions and suggestions in forums but I still don't get my expected results. form_validation was autoloaded. I'm using xampp 1.7.4 I tried these... 1. controller... Code: function review(){ view... Code: <?php var_dump(validation_errors()); ?> 2. controller... Code: function review(){ view... Code: <?php var_dump($errors); ?> 3. controller... Code: function review(){ and all resulted to.. Code: string(0) "" I already set the validation rules and they are working. My only problem is displaying the errors. Even form_error('fieldname') is not working. |