How to know if you are on the first record in a PHP/MySQL mysql_fetch_array()
mysql, php
Solution
no, there is not. at least not with the regular mysql_.
Problem
Is there any function or way of telling if the row you are on is the first in the query result from a `mysql_fetch_array()` ? I know how to do this with setting a switch variable, but I was just wondering if there is a more streamlined way to do this. Thanks.