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

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 09-24-2017, 10:10 PM   #1
eventplanner779
Registered User
 
Join Date: Sep 2017
Location: Delhi
Posts: 29
what types of loops exist in php ?

what types of loops exist in php ?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
eventplanner779 is offline   Reply With Quote

Old 09-26-2017, 05:22 AM   #2
travelowebseo
Registered User
 
Join Date: Sep 2017
Posts: 38
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
travelowebseo is offline   Reply With Quote
Old Today, 03:27 AM   #3
sadianisar
Registered User
 
Join Date: Jul 2016
Posts: 2,477
There are 4 types of loops which PHP supports such as for - loops, foreach- loops, do...while - loops and while - loops.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
sadianisar is offline   Reply With Quote
Reply


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 17 09-30-2017 04:15 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 11:58 PM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.