Use query twice mysql_fetch_array
<p>a simple</p>

<pre><code>$stuff = mysql_query("SELECT * FROM users");

while($s = mysql_fetch_array($stuff)){
# ....
}

while($r = mysql_fetch_array($stuff)){
# ...
}
</code></pre>

<p>The last while() does not work. I have tried run foreach($stuff as $s) but then i get invalid array error.</p>

<p>How can i use the same query twice?</p>
