How big difference does it make in speed in these:

<?
for ($i = 0; $i < mysql_num_rows($Results); $i++) {
    blah
};
?>

or

<?
$n = mysql_num_rows($Results);
for ($i = 0; $i < $n; $i++) {
    blah
};
?>

So actually I'm asking how much more/less it takes time to do the comparing
against mysql_num_rows() insted of comparing against a variable.


Niklas

Reply via email to