Error message does not appears |
Hello,
Please cek my codes. I wonder why <?php validation_errors(); ?> does not shows error message even when I leave galleries_name empty. I expect it show this message: "Galleries Name Required". <?php echo validation_errors(); ?> views/addgalleries.php PHP Code: <?php echo form_open('Cpages/addgalleries');?> controllers/Cpages.php PHP Code: public function addgalleries() { models/Mpages.php PHP Code: public function add_gallery()
" If I looks more intelligence please increase my reputation."
http://php.net/manual/en/function.echo.php
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
(08-09-2016, 10:38 PM)albertleao Wrote: http://php.net/manual/en/function.echo.php Thanks for the reference. but I do not know how the reference should be applied in the program.
" If I looks more intelligence please increase my reputation."
And where is your form closing tag?
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(08-11-2016, 02:57 AM)InsiteFX Wrote: And where is your form closing tag? I add the form closing tag. views/addgalleries.php PHP Code: <?php echo form_open('Cpages/addgalleries');?> I still have that same problem. That the error message does not appears even when I leave the Gallery's name error.
" If I looks more intelligence please increase my reputation."
|
Welcome Guest, Not a member yet? Register Sign In |