September 2007
Intermediate to advanced
600 pages
20h 21m
English
I showed you a tag named <cfdump> in Listing 8.9. This tag is never used in live applications, but it’s an invaluable testing and debugging tool. <cfdump> lets you display any expression in a cleanly formatted table. You saw an example of dumping an array previously; now let’s try another example. Type the following code into a new document (see Listing 8.11), save it as cfdump1.cfm, and then execute it in your browser. The output is shown in Figure 8.15.
<html> <head> <title><cfdump> Example 1</title> </head> <body> <cfset ... |
Read now
Unlock full access