title: How to make this Number Pyramid Pattern
body: <p>is it possible if I want an output like this?</p>
  
  <pre><code>5 4 3 2 1
    4 3 2
      3
  </code></pre>
  
  <p>with PHP, this is the code that I've been Try.</p>
  
  <pre><code> $n = 3;
  for ($i = 3; $i &gt; 0; $i--) {
      for ($j = $n - $i; $j &gt; 0; $j--)
          echo "  ";
      for ($j = 2 * $i - 1; $j &gt; 0 ; $j--)
          echo " ".$j;
      echo "&lt;br&gt;";
  }
  </code></pre>
  
  <p>and I got this , from that code</p>
  
  <pre><code>5 4 3 2 1
    3 2 1
      1
  </code></pre>
  
  <p>Wich part of my code that I do get wrong? can someone help me?</p>
  
  <p><strong>EDIT:</strong> Thanks people. most of the stackoverflow question that similar to my question is like my result that I have. the task was not that. 54321 432 3
  most of them we're like 54321 4321 321 21 1. I'm sorry , I'm newbie. don't know that much as you people. once again , Thanks Alot!</p>