views:

67

answers:

1

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

+4  A: 

Simply continue;

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

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