Washer Wont hold water

My washer wont hold water. It starts to fill up with water but it drains right out. It does this on every setting. Normal, Gentle, and Permanent Press. On Hot and cold and on small and extra large loads. When I manually move the knob to the spin cycle the washer will run, but since there is no water in the washer this does me no good. Any suggestions on how to fix this problem would be great.