title: Max, Min and sum Random Number php
body: <p>Here's the code</p>
  
  <pre><code>&lt;?php
  echo "&lt;table border=\"0\"&gt;";
  for ($d = 1; $d &lt;= $times;$d++ )
   {
  echo "&lt;tr&gt;&lt;td&gt;";
  echo  rand(1,6), "\n";
  echo "&lt;/td&gt;&lt;/tr&gt;";
  } 
  echo "&lt;/table&gt;"; ?&gt;
  </code></pre>
  
  <p>I'm trying to get the max,min and sum of the <code>rand(1,6), "\n";</code>
  But i can't figure it out. And it's killing me. </p>