SHARE
TWEET

Untitled

a guest Jun 19th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $count = 0;
  4. $string = 'Fred';
  5.  
  6. while($count < 10) {        // Let's just do it eleven times.
  7.     $internalCount = 0;
  8.     while($internalCount < $count) {
  9.         echo ' ';
  10.         $internalCount++;
  11.     }
  12.     echo $string . "\n";
  13.     $count++;
  14. }
  15.  
  16. ?>
RAW Paste Data
Want to get better at PHP?
Learn to code PHP in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top