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

$i = 0;

while ($row = mysql_fetch_array($result))

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

but this code does?

$r = 0;

while ($row = mysql_fetch_array($result))

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

I don't use $i anywhere else on the page.

--
Kevin Murphy
Webmaster - Information and Marketing Services
Western Nevada Community College
www.wncc.edu
(775) 445-3326

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

Reply via email to