<?php $Count = 0; while($Count < 100){ $Count++; $Numbers[] = $Count; } foreach($Count as $CurNum) echo "<p> $Numbers</p>"; ?>
<?php $Count = 0; while($Count > 100){ ++$Count; $Numbers[] = $Count; foreach($Numbers as $CurNum) echo "<p> $Numbers</p>"; } ?>
$Count = 0; while($Count < 100){ ++$Count; $Numbers[$Count] = $Count; } foreach($Numbers as $k) { echo "<p>" .$Numbers[$k] ."</p>";}
<?php $count = 0;$numbers = array(); while($count < 100){ ++$count; $numbers[] = $count;} foreach($numbers as $number){ echo '<p>', $number, '</p>';}
<?php $numbers = range(1, 100); foreach($numbers as $number){ echo '<p>', $number, '</p>';}