PHP

Print star pattern in PHP For Loop

Print star pattern in PHP For Loop

Print star pattern in PHP For Loop This tutorial will guide you about the star print program in PHP and all the different methods and the various patterns that are involved in this subject. Pattern 1 <?php for ($i=1; $i<=5; $i++) { for($j=1;$j<=$i;$j++) { echo " * "; } echo …

Read More »