binary 区别查询大小写 数据

$username = 'yjLZ';
        $users_model = M('');
        $sql = "SELECT password,isactive FROM ly_member WHERE binary name = '$username'";
        $res = $users_model->query($sql);
        dump($res);

你可能感兴趣的:(binary 区别查询大小写 数据)