Kevin Murphy wrote:
Does anyone have a clue why using this code doesn't work:

Please specify what "doesn't work" means in this case :)

$i = 0;

while ($row = mysql_fetch_array($result))

{ echo ("Blah blah blah");
        $i++;
    }


$r = 0;

while ($row = mysql_fetch_array($result))

{ echo ("Blah blah blah");
        $r++;
    }

Those two blocks of code are for all intents and purposes identical, and indeed probably end up as exactly the same opcodes.

Jasper

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to