02-25-2018, 02:21 AM | #14 |
Registered User
Join Date: Sep 2015
Location: UK
Posts: 447
|
oops in PHP are used to execute the same block of code a specified number of times. PHP supports following four loop types.
for − loops through a block of code a specified number of times. while − loops through a block of code if and as long as a specified condition is true. do...while − loops through a block of code once, and then repeats the loop as long as a special condition is true. foreach − loops through a block of code for each element in an array. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Importance of Php Development for Web Development | tech.biztech | Programming General | 35 | 11-22-2019 12:37 AM |
How many types of joining in php | mark1 | PHP / mySQL | 9 | 02-17-2017 07:00 AM |
What are Loops in Java? What are three types of loops? | Shivangi Panwar | Java | 6 | 06-20-2016 04:02 AM |
Explain the different types of errors in PHP. | Broach India | Programming General | 6 | 03-13-2015 10:23 PM |
PHP project training in ahmedabad, live project training in php ahmedabad | anantitsolution | Post your ad here | 1 | 07-16-2013 07:42 PM |