<?php for($i=1;$i<7;$i++){ //for loop for columns for($j=1;$j<=$i;$j++){ //for loop for rows echo "* "; } echo"<br>"; //<br> statement for new line } ?>
Stay tuned for the PHP Magento, WordPress and Magento2 latest tutorial and updates, Hope you enjoyed reading, if you need the professional Magento Development / PHP we can help you, just Click on the Link and send me your requirements.
Please Like the Post on Facebook or Google+.