This is second part of how to create a register and login system in codeigniter. In this part you can find how to process register form data. For process form data first we have validate form data using Codeigniter form validation library. After this convert simple password to hash formatted password using Codeigniter encrypt library. Lastly Insert data into Mysql table.
For Source code and online demo – https://www.webslesson.info/2018/10/user-registration-and-login-system-in-codeigniter-3.html