multiple random numbers on one page /refresh
<p>I'm trying to generate multiple unique hashes on one page and this script is not working. I keep getting only one number repeated 3 times instead of 3 unique numbers. I know i can create hash1, hash2, and hash3 functions but that is too much code.</p>

<pre><code>&lt;?php
  $seed = 'JvKnrQWPsThuJteNQAuH';
  $hash = sha1(uniqid($seed . mt_rand(), true));
  $hash = substr($hash, 0, 10);
?&gt;

&lt;? echo $hash; ?&gt;&lt;br&gt;
&lt;? echo $hash; ?&gt;&lt;br&gt;
&lt;? echo $hash; ?&gt;&lt;br&gt;
</code></pre>
