Can I drink water when I have diarrhea?

I really want to know if you can drink water when you have diarrhea please help!

To help prevent dehydration, you need to drink ORS (oral rehydration solution). ORS involves drinking water with modest amounts of sugar and salts. ORS is made of 6 level teaspoons of sugar, 1/2 level teaspoon of salt in one litre of clean drinking or boiled water and then cooled.