Welcome Guest, Not a member yet? Register   Sign In
subfolders and form validation

I am working through the form validation examples and it works if I do not put the views in subfolders. Here are the statements that generate errors when used from my subfolder.

<?=$this->validation->error_string; ?>

<?=form_open('form'); ?>

Please help.


I found my problem. I was missing the following lines from my controller.

$this->load->helper(array('form', 'url'));


Theme © iAndrew 2016 - Forum software by © MyBB