title: PHP 5x5 table with numbers in them
body: <p>I'm a beginner at PHP and I have the following issue: I need to create a 5x5 table in PHP like this:</p>
  
  <p><img src="https://i.stack.imgur.com/OljrA.jpg" alt="http://shrani.si/f/3p/5W/4BNOssVD/5x5matrix.jpg"></p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>echo '&lt;table border="1" style="width:100px"&gt;';
      for ($i=0; $i &lt; 5; $i++) {      
          echo "&lt;tr&gt;";
              for ($j=0; $j &lt; 5; $j++) { 
                  echo "&lt;td&gt;";                
                      echo $j;
                  echo "&lt;/td&gt;";
                  }
          echo "&lt;/tr&gt;";
      }
  echo "&lt;/table&gt;";
  </code></pre>