Just to note for future reference, drinking ONLY water to replenish lost fluids/nutrients in the body when you have such problems can be extremely bad (and can lead to things such as water intoxication). Primarily you want to drink or eat foods that are high in sodium, potassium, calcium, and [to a much lesser extent] magnesium - chicken soup, tomato soup, bananas, some kinds of sports drink, plus most kinds of cereal (if you don't have a fever) are generally the best options.