How to get a PHP Count function to end?

mlefev

New member
The problem I have is
$Count = 1;
while ($Count M= 10) {
echo "<p>The number is $Count</p>"
}

I figure it should be $Count = $Count +1;
BUT I can't get it to terminate after 10. If I run it I get the blue screen of death after awhile. How do I get it to count from 1 to 10 then die? Any help would be wonderful.

Thanks.
 
Back
Top