Codeigniter $this->lang->line(errors) without paragraph tags for tank auth error messages Codeigniter $this->lang->line(errors) without paragraph tags for tank auth error messages codeigniter codeigniter

Codeigniter $this->lang->line(errors) without paragraph tags for tank auth error messages


To remove the tags wrapping the error message, you'll have to call the set_error_delimiters() method of the Form Validation object with 2 empty strings as the parameters.

$this->form_validation->set_error_delimiters('', '');

More on this: https://codeigniter.com/user_guide/libraries/form_validation.html#changing-the-error-delimiters

As for your second question, I'm not sure what you're asking actually. It's only a function call where the returned value of the call will be outputted to the user.