Welcome Guest, Not a member yet? Register   Sign In
ion auth with CI2.x
#3

(04-12-2018, 09:40 AM)BABYpanda Wrote: You might want to move to CI 3.1.8, PHP 7.0 and the latest Ion Auth release.
this is the code :
$this->db->select('column name');
$this->db->from('oc_access_token');
$this->db->where('token',$access_token);
$this->db->where('atuser_id',$user_id);
$query = $this->db->get();
$result = $query->row();

the data(user id  and acess token) exiost in db but result is always null can you help me why result is null
Reply


Messages In This Thread
ion auth with CI2.x - by jyoti sudyal - 04-12-2018, 06:32 AM
RE: ion auth with CI2.x - by BABYpanda - 04-12-2018, 09:40 AM
RE: ion auth with CI2.x - by jyoti sudyal - 04-15-2018, 11:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB