Yikes hun Hope things settle down for you soon. FWIW I have had diarrhea as an indicator for labour with both kids but it does sound more like gastro / food posioning.
Banana, Rice, Apple, Toast are supposed to be the best for an upset tummy. Hope it's better soon x