The green bowel motions are due to increased movements of the intestines. This does not let the bile salts to get enough time to be digested. Please read this;
Following measures are likely to be helpful or diarrhea:
2) Lomotil; may only be given if the diarrhea is vigorous.
3) Gatorade / Pedialyte
4) Plenty of fluids
5) BRAT diet; banana, rice, applesauce, toast. Vegetable broths / vegetable soups, coconut water also can help.
The primary aim is prevention of dehydration and electrolyte imbalance. If the diarrhea loss of fluids is too much or you are unable to drink enough liquids; you may need antibiotics and / or intravenous fluids. In that case you may need to got to ER.
Please feel free for your follow up questions.
I would be happy to assist you further, if you need any more information.
Thanks for using Just Answer.