be advised doing还是 to do

问题描述:

be advised doing还是 to do
我记得说advise doing sth中间不能有sb
而advise sb to do sb中间可以有sb,那么在这里是可以有可以没有还是一定要有?
应该是 I was advised to do sth还是I was advised doing sth?

advise sb to do sth advise doing sth被动语态是advise sb to do sth 改过来的,be advised to do sth.advise后可接动名词形式,但不可直接加不定式,如可说He advises trying once more,但不可说He advises to try on...