<?php for($i=7;$i>=1;$i--){ //for loop for columns for($j=$i;$j>=1;$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+.