我的代码:
$this->db->where("followers.id_follower",$id_user);
$this->db->where("users.id_following",$id_user);
答案 0 :(得分:0)
你可以试试这个问题的where子句:
$where = "followers.id_follower=$id_user AND users.id_following= $id_user";
$this->db->where($where);