Hello and welcome to health care magic!!
Your daughter has got an infection gastro enteritis
probably viral in this age group what you can do is take her to a doctor get a stool test
done to confirm if it is bacterial or viral and start on antibiotics if necessary and also make sure you give her lot of fluids including ors
and do not allow dehydration