18 lines
		
	
	
		
			478 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			478 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| title: Loops
 | |
| ---
 | |
| 
 | |
| ## Loops
 | |
| 
 | |
| Loops are used in PHP to perform repeated tasks based on a condition. 
 | |
| 
 | |
| Conditions typically return `true` or `false` when analysed. 
 | |
| 
 | |
| A loop will continue running until the defined condition returns `false`.
 | |
| 
 | |
| You can type `php for` , `php while` or `php do while` to get more info on any of these.
 | |
| 
 | |
| ### More Information
 | |
| 
 | |
| - <a href='https://secure.php.net/manual/control-structures.for.php' target='_blank' rel='nofollow'>PHP.net - For Loops</a>
 |