View Single Post
Old 01-05-2018, 03:04 AM   #12
aesthetiqclinic
Registered User
 
Join Date: Jan 2018
Posts: 230
php support four type of loops
1. for loop: mostly used to repeat a code for specified number of times.
2. while loop: use to repeat a code until the test condition remains true.
3. do-while loop: at least one time execution of code. after that code execution depends upon condition.
4: foreach: execute a block of code for each element of array
aesthetiqclinic is offline   Reply With Quote