[Solved] Getting The User_id from DB then to Sessions - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: [Solved] Getting The User_id from DB then to Sessions (/showthread.php?tid=60713) |
[Solved] Getting The User_id from DB then to Sessions - El Forum - 06-09-2014 [eluser]riwakawd[/eluser] I am just trying to find out the best way to get the user id row number from my library and then set it in my sessions. Code: $this->load->library('user'); [Solved] Getting The User_id from DB then to Sessions - El Forum - 06-11-2014 [eluser]Otemu[/eluser] Hi, You would use something like this Code: $data = array( |