tauchai83 Posted June 2, 2007 Share Posted June 2, 2007 I doubt on how to create the following pattern: ************ *********** ********** ********* ******** ******* ****** ***** **** *** ** * thanks! Quote Link to comment https://forums.phpfreaks.com/topic/53940-how-to-do-this/ Share on other sites More sharing options...
per1os Posted June 2, 2007 Share Posted June 2, 2007 <?php $i = 12; while ($i > 0) { echo str_pad('', $i,'*') . "<Br />\n"; $i--; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/53940-how-to-do-this/#findComment-266691 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.