Codeigniter 3 – Implementing Form Validation
Here I show you how to implement CodeIgniters Form Validation before you insert or add data to MySql database table. Also how to set error messages, show errors individually, and re-populate the form fields.
Related topic:
Codeigniter 3 insert/update/delete/select with MySql database https://www.youtube.com/watch?v=xBHZ3o6-DVs
source