simple example of implementation database in codeigniter