The mandarin's daughter gave her father good advice?
Does a father still have to pay child support on his 17 year old daughter when her mother gave her permission to get married?
The direct object is 'some advice'. That is the thing that you gave. The indirect object is 'her'. That is the person to whom you gave the thing. In this context it means 'to her', and indeed if you reversed the order of the direct and indirect objects that is what you would say: 'I gave some advice to her.'
In Medieval times yes, the man who wanted to marry a father's daughter had to ask for her hand in marriage and if the father rejected the young man then his daughter was not able to see him any longer. Also, in some countries if the father accepted the young man's proposal of his daughter's hand in marriage there would be a dowry (either money or property that the father gave the young man if…