01: <cfset a = "hello">
02: <cfoutput>#a#</cfoutput>
01: <cfset a = "東京">
02: <cfset b = "大阪">
03: <cfset c = "田中">
04: <cfoutput>
05: 明日の出張は#a#から#b#の予定です。<br>
06: 昨日は#c#さんは#b#から#a#に行きました。
07: </cfoutput>
01: $a = "東京";
02: $b = "大阪";
03: $c = "田中";
04: print "明日の出張は$aから$bの予定です。\n";
05: print "昨日は$cさんは$bから$aに行きました。";
01: <?php
02: $a = "東京";
03: $b = "大阪";
04: $c = "田中";
05: print "明日の出張は$aから$bの予定です。\n";
06: print "昨日は$cさんは$bから$aに行きました。";
07: ?>
01: <?php
02: $a = "東京";
03: $b = "大阪";
04: $c = "田中";
05: ?>
06: 明日の出張は<?php print( $a ); ?>から<?php print( $b ); ?>の予定です。<br>
07: 昨日は<?php print( $c ); ?>さんは<?php print( $b ); ?>から<?php print( $a ); ?>に行きました。
01: <%
02: String a = "東京";
03: String b = "大阪";
04: String c = "田中";
05: %>
06: 明日の出張は<%=a%>から<%=b%>の予定です。<br>
07: 昨日は<%=c%>さんは<%=b%>から<%=a%>に行きました。
01: <cfquery name = "GetCourses" dataSource = "cfdocexamples">
02: SELECT Dept_ID, CorName, CorLevel
03: FROM courseList
04: ORDER by Dept_ID, CorLevel, CorName
05: </cfquery>
06:
07: <cfoutput query = "GetCourses" maxRows = 4>
08: #Dept_ID# #CorName# #CorLevel#<br>
09: </cfoutput>
10:
うたらぼさんの読者になろう
ブログの更新情報が受け取れて、アクセスが簡単になります