title: Counting Numbers And Sorting Them
body: <p>I have a question. I have created a small script which generates 37 random numbers between 0 and 36 but I want to expand it a little.</p>
  
  <p>This is what I have:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;?php  
  for ($x = 1; $x &lt;= 37; $x++) {
    echo(mt_rand(0,36) . "&lt;br&gt;");
  }
  ?&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I want to show a horizontal row of number 0 to 36 and below that I want to show how many times a number show from the previous random generator code.</p>
  
  <p>Can someone help me here?</p>