Answer: It's true - squash plants produce both male and female flowers and only the females will produce fruit. Male flowers have thin, straight stems directly behind the flower petals; female flowers have a slight swelling. This is the potential fruit. As the season progresses and the weather gets warmer, your plants will produce more female flowers. There's really nothing you can do to encourage more female flowers on your plants; it's genetic. You can encourage more bees to visit your garden by having lots of flowers in bloom and by limiting the amount of insecticides you use(lack of fruit can sometimes be a result of poor pollination).
Best wishes with your squash!
Q&A Library Searching Tips