tauchai83 Posted June 2, 2007 Share Posted June 2, 2007 I doubt on how to create the following pattern: ************ *********** ********** ********* ******** ******* ****** ***** **** *** ** * thanks! 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--; } ?> Link to comment https://forums.phpfreaks.com/topic/53940-how-to-do-this/#findComment-266691 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.