<?php for ($i=1; $i<=10 ; $i++) { echo $i."-".($i*10)."<br>"; } $i=1; while ( $i<= 10) { echo $i."-".($i*10)."<br>"; $i++; } ?>