Print Even Numbers in PHP
Print Even Numbers in PHP <?php $i = 1; // Statement initialises i to 1 echo “This will print even numbers between 1 to 11”; // Prints the statement in double quotes while($i <= 11) { // Check whether condition is true if ( $i % 2==0) // Checks divisibility by two echo “$i</br>”; // […]
Print Even Numbers in PHP Read More »