it should ofcourse be

for ($i = 200; $i <= 250; $i++)
        print "$i ";


:)



-----Original Message-----
From: Niklas Lampén [mailto:[EMAIL PROTECTED]] 
Sent: 25. kesäkuuta 2002 10:05
To: Php-General
Subject: RE: [PHP] looping through numbers


for ($i = 200; $i <= 200; $i++)
        print "$i ";


Niklas


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: 25. kesäkuuta 2002 10:05
To: [EMAIL PROTECTED]
Subject: [PHP] looping through numbers


Hello ,

How do I do a loop that will increase a number tell it reaches another
number

I what it to print out every number starting at 200 and ending at 250 so
it would print out 200 201 202 203 204



-- 
Best regards,
 rdkurth                          mailto:[EMAIL PROTECTED]


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

###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/

###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/

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

###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/

###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/

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

Reply via email to