Yesterday I got food poisoning and had diarrhea all night.
Tips
register
Colloquial and informal, the clinical word is 腹泻. 拉稀 also has a slangy figurative sense 'to cower / back out at the last minute'. Don't use it at the doctor's office unless you want a knowing smile.