On Tue, Mar 22, 2011 at 18:22, Jim Giner <jim.gi...@albanyhandball.com> wrote:
[snip!]
>
> for ($i=0;$i<$rows;$i++)
>    echo $i.' '.$row['itemname'];
>
> I expected to see :
>
> 1 item1
> 2 item2
> ...
> ...
>
> but instead I got
>
> 1 item1
> f item2
>
> Yes - an 'f' and not a 2.
>
> Tried it some more with this:
>
> for ($i=1;$i<10;$i++)
>    echo $i." item".'<br>';
>
> and got
>
> c item
> d item
> e item
> f item
> g item
> ....
> and so on.

    That sounds very odd.  Can you show us the actual surrounding code, Jim?

-- 
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/

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

Reply via email to