title: Add Numbers to MySQL, HTML table in order
body: <p>I will try my best to explain what I am trying to do. Hopefully you can help me out. I have a database that holds links, these links are displayed in a table. I have the entries output properly in order from Points, but I am trying to add a rank number to the side so it says 1, 2, 3, 4, etc going down the page per entry. 
  Here is my attempt.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table width = "1000" style='table-layout:fixed;'&gt;
      &lt;tr&gt;
          // These are the numbers I need to add
          &lt;th&gt;Rank&lt;/th&gt;
          // All these work fine.
          &lt;th&gt;Host&lt;/th&gt;
          &lt;th&gt;Location&lt;/th&gt;
          &lt;th&gt;Points&lt;/th&gt;
      &lt;/tr&gt;
          &lt;?php while($row1 = mysqli_fetch_array($result1)):;?&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;?php echo $row1[0]; ?&gt;&lt;/td&gt;
          &lt;td&gt;&lt;a href="&lt;?php echo $row1['Location']; ?&gt;"&gt;&lt;?php echo $row1[1]; ?&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td&gt;&lt;?php echo $row1[2]; ?&gt;&lt;/td&gt;
      &lt;/tr&gt;
          &lt;?php endwhile; ?&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Hopefully you understand what I am trying to do, if you need any more information let me know.
  Thanks for your time.</p>