Thread: List of numbers
View Single Post
Old 11-23-2007, 08:49 PM   #10 (permalink)
ReSpawN
The Frequenter
 
ReSpawN's Avatar
 
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
ReSpawN is on a distinguished road
Default

Quote:
Originally Posted by wGEric View Post
You could do a simple for loop as well.

PHP Code:
for($i 555444$i <= 555555$i++)
{
    echo 
$i '<br />';

The one way, the only was, to make it easy to remember if you ask me. I am used to it since I make a lot of these loops, but you can also use while loops, instead of for and foreach. :)
Send a message via MSN to ReSpawN
ReSpawN is offline  
Reply With Quote