Two parents are sending a warning to others with small children after their 3-year-old daughter got trapped in their washing machine as it filled with water.