I realize that this:
$result = mysql_query("SELECT * FROM tablename");
counts as 1 query, but if I were to do something like:
$result = mysql_query("SELECT * FROM tablename");
$row = mysql_fetch_array($result);
echo "$row[field1] $row[field2]";
would it still count as a single query since there is only one $result statement, or would the fetch_arrays add to the total number of database queries?