1 2 3 4 5 6 7 8
<?php $count = 12; do { print "$count<br>"; $count--; } while($count > 6) // outputs 12 to 7 ?>
1
12<br>11<br>10<br>9<br>8<br>7<br>