Few things:
First, it doesn't fill the array with numbers 1-100... it fills them with 0-100.
Note that you could combine this:
$Numbers[] =$Count;
++$Count;
into simply this:
$Numbers[] = $Count++;
Note that you could replace your entire while() loop with this:
$Numbers = range(0, 100);
Finally, look at your [man]foreach/man loop:
foreach ($Count as $CurNum)
echo "<p>$CurNum</p>";
You're trying to iterate over $Count as if it were an array... but $Count is just a number.
Furthermore, why are you trying to execute that foreach loop on every iteration of your while loop?
EDIT: Also, welcome to PHPBuilder! When posting PHP code, please use the board's [noparse]
..
[/noparse] bbcode tags as they make your code much easier to read and analyze.