Loops 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.
__________________
"Powerfull state of the art DELL servers!"
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - Ultimate Windows VPS hosting | √ Dedicated hardware √ MS Hyper-V technology √ Premium bandwidth providers
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - √ Chat support √ Full 24/7 help desk support √ Email support
|