On Thursday 30 May 2002 11:46, Peter wrote:
> Just a query ... has any one else noticed this
>
> for($i = a; $i < z; $i++)
> {
> print $i;
> echo "<BR>";}
>
> will print out a right down to yz
It should only print to 'y' ...
> but replace the letters with numbers eg
>
> for($i = 1; $i < 10; $i++)
> {
> print $i;
> echo "<BR>";}
>
> and it prints 1 thru to 10
... and should only print to '9' ...
> and any one know a reason for this?
... so if it does otherwise for you then you've got a bug in your version of
php!
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Many people are desperately looking for some wise advice which will
recommend that they do what they want to do.
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php