<?
for($i=1; $i<=20; $i++){
if($i%3==0){
echo $i."<br>\n";
}
}
?>
---低调的分割线------------------------------
<script type="text/javascript">
for(var i=3; i<=20; i++)
{
if(i%3 ==0){
document.write(i + '<br />')
}
}
</script>
---低调的分割线------------------------------
<script type="text/javascript">
var i;
for(i=3; i<=20; i=i+3){
document.write(i + '<br />')
}
</script>
---低调的分割线------------------------------
<%
dim a
for a=3 to 20 step 3
response.write(a&"<br>"&vbcrlf)
next
%>
---低调的分割线------------------------------
<%
dim b
for b=1 to 10
response.write(b)
if b mod 2=0 then
response.write("<br>")
end if
next
%>
---低调的分割线------------------------------
<%
dim b
for b=1 to 10
'response.write(b)
if b mod 2=0 then
response.write(b&"<br>")
end if
next
%>