TIP: Use Markdown or, <pre> for multi line code blocks / <code> for inline code.
These forums are read-only and for archival purposes only!
Please join our new forums at discourse.kohanaframework.org
append a function to view
  • hello i want that when i submit a form to display the errors. and the errors to be something like: show_error($errors['name']) where show_error to display the html with the error inside it is possible something like this? 10x.

  • Of course it is possible. In your controller, set an empty array/object $errors, populate $errors as you encounter errors and feed it to the view.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion