使用迴圈列出學號清單

<php
	$mystart =   1;
	$myend   = 210;
	$std     = "A080C";
	
	for ( $i = $mystart; $i <= $myend; $i++ ) {
		if ( $i <= 9 ) {
			$tmp = "00";
		} else if ( $i <= 99 ) {
			$tmp = "0";
		} else {
			$tmp = "";
		}
		echo "<li>${std}${tmp}${i}</li>" ;
	}
	
?>