Basic HTML version of Foils prepared May 3 1998

Foil 26 A Simple CF Application page

From Java Blend and Cold Fusion High Level Database Interfaces CPS616 Web Technologies -- Spring 98. by Chao Wei Ou


1 <!--- Query to select customers --->
2 <CFQUERY NAME="EmployeeList" DATASOURCE="CF 3.0 Examples">
3 SELECT * FROM Employees
4 </CFQUERY>
5 <HTML>
6 <HEAD> <TITLE>Employee List</TITLE></HEAD>
7 <H2>Employee List</H2>
8 <!--- #FirstName#, #LastName#, #Phone# - Employees column names --->
9 <CFOUTPUT QUERY="EmployeeList">
10 <HR> #FirstName# #LastName# (Phone: #Phone#) <BR>
11 </CFOUTPUT>
12 </HTML>

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998