My four year old daughters stomach started hurting and she couldnt go poop.  That night she vomited and felt better.  Next am tummy still hurt and I gave her Miralax.  Pain, but still no poop.  No appetite at all.  Gave Miralax next am and later had some diarrhea.  Third morning, still no appetite and no poop.
Many thanks for the opinion. From the history of your child looks like two things 1.pain epigastric.2.constipation.this needs physical examination ear, nose and throat for any infection. If there is no there is no tonsillitis to pharyngitis, then there is small chance of acute gastritis or hyperacidity. This can be rule out by H.pylori test, either stool test for it and same time stool for ova and parasites. If he is constipated then he needs good HY Chat Doctor. -avoid junk foods, chips and chest etc-avoid Pepsi, cola, chocolates and candy.-avoid banana and potato.-avoid too much milk and its products. If problems is not solved with dietary manipulation then needs full investigations.