0

in While(),How to skip the following nested statements and execute next loop of the while() statement?

1 Answer 1

4

Simply continue;

Read more: http://www.php.net/manual/en/control-structures.continue.php

Sign up to request clarification or add additional context in comments.

1 Comment

And if you want to stop a while loop, use break! php.net/manual/en/control-structures.break.php

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.