Course Content
Introduction
PHP is an object-oriented scripting programming language that allows web developers to create dynamic and interactive web pages. PHP stands for Hypertext Preprocessor (PHP).
0/14
Control Statement
A control statement is a statement that determines whether other statements will be executed.
0/7
PHP for Beginners
About Lesson

The continue statement breaks one iteration (in the loop), if a specified condition occurs, and continues with the next iteration in the loop.

The continue statement is used within looping and switch control statements when you directly jump to the next iteration.

Example:

for ($num = 0; $num < 10; $num++) {
  	if ($num == 6) {
    		continue;
  	}
  	echo "The number is: $num <br>";
}