not the water I was expecting to break!

TMI! help! so I'm currently 37wks almost 38 and for the past week now iv had the worst diarrhea of my life! I don't feel sick or anything really but as soon as I eat anything within moments I'm running to the bathroom. I've tried eating bread/rice based foods hoping it'll help but to no prevail! any ideas on what's going on??