Answers for "select query in ci"

0

select query in ci

$this->db->select('username')
         ->from('user')
         ->where('`locationId` in', '(select `locationId` from `locations` where `countryId` = '.$countryId.')', false)
         ->get();
Posted by: Guest on August-14-2021

Browse Popular Code Answers by Language