How to Use For Loop Statement in PHP

How to Use For Loop Statement in PHP

In this article, you will learn How to Use For Loop Statement in PHP. Syntax: for(initialization;condition;increment) { code to be executed } Example:- <?php for($i=0;$i<=10;$i++){echo "The Number is ".$i."<br/>"; } ? > Output: The Number is 0 The Number is 1 The Number is 2 The Number is 3 The Number is 4 The Number […]
Read Full Article