Custom Session Data |
[eluser]snowstar[/eluser]
Hi all, im trying to make sense of sessions. I believe im going wrong in the retrieving the right information from the db and pushing it back to the session I'm trying to get the id from the same row as the user who has just been authenticated, i would like to get other information from other rows too. My controller Code: function validate_credentials() My model Code: function validate() I think im going wrong with Code: $this->db->where('username'); if any one is able to point me in the right direction it would be most appreciated
[eluser]nggakbiasa[/eluser]
try : Code: $this->db->where('name', $name); |
Welcome Guest, Not a member yet? Register Sign In |