27 weeks with spotting

Has anyone ever had light spotting with a feeling of having diarrhea (but havent)? I'm getting so nervous and went to the ER and everything looks fine. Has anyone had this happen now or in a previous pregnancy?