Thanks for posting your query.
Your daughter is suffering from viral infection involving gastrointestinal tact with mylagia as a prodromal symptom.
You should consult with child specialist and should go for thorough check up.
neither helps in stomach ache and nor in leg pains.
You should use dicylcomine for relief of abdominal pain
and muscle relaxants for leg pains.
These viral infections generally persist for 3-4 days and may resolve itself.
She should also take antibiotic course for 3-4 days for faster recovery.
Dr. Mayank Bhargava