I have lots of flowers on my squash and zuchinni plants, but only 1 or 2 that come to full fruit. Most just fall off the vine, or when they are small, they rot at the end and die.
Squash Plants Not Bearing Fruit
Certified GKH Gardening Expert
It sounds like a pollination problem. These articles will help: