I can’t select the active ID data from the database in codeigniter. When user login success then this user is active. What code I apply in where clause?
This query can’t select logged in user data. Hope it will be helpful for you.
<?php $sec_data=$this->db->select('*')->from('table')->where('id !='=> $activ_t_id)->get()->result(); return $sec_data; ?>
Username
Password
Remember Me
Lost your password?
Username or E-mail:
Log in