Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL


Thread Tools Rate Thread Display Modes
Old 02-25-2018, 01:21 AM   #16
Registered User
Join Date: Sep 2015
Location: UK
Posts: 625
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.
smmexpertss is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importance of Php Development for Web Development tech.biztech Programming General 41 06-23-2018 04:22 AM
How many types of joining in php mark1 PHP / mySQL 10 02-17-2017 06:00 AM
What are Loops in Java? What are three types of loops? Shivangi Panwar Java 7 06-20-2016 04:02 AM
Explain the different types of errors in PHP. Broach India Programming General 7 04-10-2015 02:46 AM
PHP project training in ahmedabad, live project training in php ahmedabad anantitsolution Post your ad here 1 07-16-2013 07:42 PM

All times are GMT -7. The time now is 05:04 AM.

Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.