<?php for ($counter = 1; $counter <= 6; $counter++) //循环6次 { print("<B>counter is $counter</B><BR> "); //输出6次 } ?>