<?php $a=2; echo("<p>Even Numbers from 2 to 30<p>"); while ($a <=30) { echo("$a <br>"); $a=$a+2; } ?>