Need to know what kind of soil you are using.

It could have been damp off disease.

Pics would do wonders for a diagnosis.