<% と %> によるソース内の分離

  HTML と VbScript の混在



  

<HTML>
<BODY>
<%
	Dim strType
	strType = "yes"
	Response.Write "TYPE is " & strType & "<br>"
	if strType = "yes" then
		%><!-- #include file = "admin.htm" --><%
	else
		%><!-- #include file = "user.htm" --><%
	end if
	strType = "no"
%>
TYPE is <% = strType %><br>
<% if strType = "yes" then %>
<!-- #include file = "admin.htm" -->
<% else %>
<!-- #include file = "user.htm" -->
<% end if %>
</BODY>
</HTML>
  










  infoboard   管理者用   
このエントリーをはてなブックマークに追加





フリーフォントWEBサービス
SQLの窓WEBサービス

SQLの窓フリーソフト

素材

一般WEBツールリンク

SQLの窓

フリーソフト

JSライブラリ