Thank you for your query.
It appears that your daughter is having a stomach infection
which is giving rise to the pain and now diarrhoea
. It can occur because of eating something or can be water borne. Ensure that she has enough of liquids to drink in the form of lemonade, butter milk, coconut water so that she is not dehydrated. You can observe her for the next few hours and in case the frequency of motion does not come down then you need to consult your doctor.
I hope I have answered your query to your satisfaction.
Wishing your daughter an early recovery.
Rajiv K Khandelwal