Thank you for your query.
Your daughter is suffering from gastroenteritis
as she has been having vomiting
. The diarrhoea is associated with the reduced feeding by the child. I suggest that you get her examined by a doctor and get the stool examined. Give her plenty of oral fluids so that she does not get dehydrated.
As the age and weight of your daughter has not been mentioned medicine cannot be suggested.
I hope I have answered your query to your satisfaction.
Wishing your daughter all the best.