how do i make a while loop start again after it reaches the else statement?

Only by putting whole while inside other loop, for example another while, I think. Maybe you would like to show some of your code, where you have problem and tell what is the purpose of this code. Remember to push code-tags before pasting.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.