Run Code
Browser not compatible.
<?php
$i=0; while($i <= 10){ if($i % 2 == 0){ echo $i." - Even, "; }else{ echo $i." - Odd, "; } $i++; }
?>