When your squash grows 3 inches long, then shrivels up and dies, then it isn't getting pollinated. Squash plants bear both male and female flowers. To have fruit set, pollen from the male flower must be physically transferred to the female flower by bees. Do you have a lot of pollinating bees in your garden? If not, you can manually pollinate the flowers yourself--help them along with some Q-tips! Also, be sure to avoid pesticides in the garden which kills the pollinators.
When your squash grows 3 inches long, then shrivels up and dies, then it isn't getting pollinated. Squash plants bear both male and female flowers. To have fruit set, pollen from the male flower must be physically transferred to the female flower by bees. Do you have a lot of pollinating bees in your garden? If not, you can manually pollinate the flowers yourself--help them along with some Q-tips! Also, be sure to avoid pesticides in the garden which kills the pollinators.