How to display an array of errors when working with redirect() in Codeigniter? |
I created a form to add a product on Codeigniter. The form works fine, but I can't fully configure the validation.
The Products controller, which has the add_form() method, is responsible for processing the product addition form. In this method, at the very beginning I check the validity of the fields. PHP Code: $validationRule = [ In general, everything works, but I can’t display a list of errors in the form view! I don't understand how to display the data passed to the ->with('errors', $arrErrors) method
See https://codeigniter4.github.io/userguide...ion-errors
Simple CI 4 project for beginners codeigniter-expenses
|
Welcome Guest, Not a member yet? Register Sign In |