Loops are used to execute the statement(s) repeatedly,as long as the condition expression evaluates to TRUE.
in PHP there are several types of loop:
while
do ... while
for
foreach