title: Reset php pointer?
body: <p>I'm trying to do the following:</p>
  
  <pre><code>while ($row = mysql_fetch_assoc($result){
      ...
  }
  ...
  while ($row2 = mysql_fetch_assoc($result){
      ...
  } 
  </code></pre>
  
  <p>but it doesn't work. The commands within the 2nd loop never run. I'm guessing that this has to do with the pointer of the mysql function, which has to be reset. If so, how to do this?</p>