I have a user model that has properties such as username, password, first name, last name, address ... etc.
What is the best way to set these properties on a model so that I can insert or update data in a database?
Should I add, update ..ect methods that take the entire list of parameters or just an array.
My questions are: how would you write a simple user model with the above fields in CI?
source share