Simplest way to get the current location of the data pointer for mysql_fetch_assoc loop?
<p>Given a $result from a SELECT query that returned 20 rows, what is the simplest way to accomplish what the comment sugggests in the loop?</p>

<pre><code>while ($row = mysql_fetch_assoc($result))
{
    // echo "success" when i get to the 9th row
}
</code></pre>
