Q.trouble growing onions
when i plant onions they start out growing fairly well standing straight, then suddenly the leaves or stalks start twisting and fall over. they get white spots and where the spots are they eventially turn brown.

This can be frustrating! These articles will help you get started with healthy strong onions.
https://www.gardeningknowhow.com/edible/vegetables/onion/treating-diseases-of-onion.htm
https://www.gardeningknowhow.com/edible/vegetables/onion/find-how-to-grow-onions-in-your-garden.htm
https://www.gardeningknowhow.com/edible/vegetables/onion/onion-info-tips-for-growing-big-onions.htm
https://www.gardeningknowhow.com/edible/vegetables/onion/onion-bulb-formation.htm
https://www.gardeningknowhow.com/edible/vegetables/onion/onion-bolting.htm