pooping

🌞➕🌚

so my daughter is potty training she and bin in underwear for 2 weeks now dose great has no acsadents she even wears underwear to bed with no acsadents but she won't poop in the potty she hasn't pooped on like 4 days and had bin crying in pain cuz its hurting her but won't poop at all the doctors told me to give her laxatives and I have but still no poop any advice on how to get her to poop other than laxatives ?