php coding

I need to write a code that will display all odd numbers from 1 to 100. I’m not sure what I’m doing wrong. Here is my code.
[php][/php]

Odd Numbers

<?php $Count = 1; while ($Count <= 100) { echo "$Count
"; $Count *= 3; } ?>

$Count += 2;

Sponsor our Newsletter | Privacy Policy | Terms of Service