
ColdFusion MX 7 Getting Started Experience Tutorial Page 29 of 47
Figure 46. The SQL
statement shows in the
browser
The SQL statement you created is added to the top of the HTML page.
10. Right-click on the page and choose to view the source of the page. This shows you the HTML that the browser is
interpreting.
Figure 47. Viewing the
source of the page
11. Review the HTML that you see. Your SQL statement is treated as plain text by the browser.
Figure 48. The SQL
statement also appears in
the HTML code
Rather than having the browser display the SQL statement, you need ColdFusion MX 7 to recognize and process it as a
call to the database to retrieve information. In the next section, you add ColdFusion code for this purpose.
STEP 6: Writing ColdFusion Code
In this section, you add ColdFusion Markup Language (CFML) to the index.cfm page. CFML is very similar to HTML;
however, instead of being interpreted by the browser on the user’s computer, it is interpreted by ColdFusion M and then
Kommentare zu diesen Handbüchern