Residents struggled to contain overflowing toilets, putting flood-hit areas at risk of the spread of disease.