ankitweblogic logo
W e b t u t o r i a l s

Define PHP

PHP Installation

PHP INI File

PHP Case Sensitivity

PHP Variable

PHP Echo & Print

PHP Operators

PHP Receiving Input

PHP Decision Making

PHP Loops

PHP Jumping Statement

PHP Image Gallery

PHP Arrays

PHP Date Functions

PHP String Functions

PHP Math Functions

PHP Functions

PHP Variable Scope

PHP Constant Variable

PHP Superglobals

PHP Form Validation

PHP Include Statement

PHP Filter

PHP File Handling

PHP File Upload

PHP Cookies

PHP Session

PHP Send Emails

PHP Captcha

PHP-MySQL Connectivity

PHP MySQL Select

PHP MySQL Insert

PHP MySQL Delete

PHP MySQL Update

PHP Jumping Statements

PHP Break Statement: The PHP break keyword is used to terminate the execution of a loop.

Example 1: WAP to print counting 1 to 10 using While Loop
Output

While Loop 1 While Loop 2 While Loop 3 While Loop 4

PHP continue statement: The PHP Continue Statement is used to skip the current iteration of a loop but it does not terminates the loop.

Example 2: WAP to print counting 1 to 10 using While Loop
Output

While Loop 1 While Loop 2 While Loop 3 While Loop 4 While Loop 6 While Loop 7 While Loop 8 While Loop 9 While Loop 10