Whay would you want to use a for loop? That would indicate that you know the size/number of results before performing the query?
I would use a do{}while(). ie:
$sql = "SELECT * FROM table";
$result = mysq_query($sql);
do {
echo $row[field1];
echo "<br>";
echo $row[field2];
echo "<p>";
}while($row = mysql_fetch_array($result));
If you need to limit your results, use SQL to limit it, it's much easier.
-- Nick Gushlow.