Hola,
Pues simplemente con:
Código PHP:
$row=mysql_fetch_array($con);
Si miras en el manual mysql_fetch_array() devuelve el registro actual y avanza el puntero al siguiente registro. Si no hay registro actual (no se devolvieron ningun registro o estas intentando acceder al siguiente del ultimo) devuelve false. Por eso funciona el bucle.
Saludos.
PD: Es mas, aunque solo leas un registro, funciona el bucle.