Following are the foods to avoid when you have diarrhea-
fried, fatty, greasy foods
spicy foods
processed foods, especially those with additives.
pork and veal
sardines
raw vegetables
rhubarb