
ColdFusion MX 7 Getting Started Experience Tutorial Page 34 of 47
</tr>
</table>
12. Save and browse the index.cfm page. You might get an error if you used the hex value #FF0000 for the color red
instead of using the word red for the value.
Figure 51. The extra
number sign (#) used in the
font color’s hex value
causes ColdFusion to throw
an error
The message cites a possible missing ending number sign (#) on line 32. (Your line number might be slightly
different.)
13. If you used the hex value instead of the word red, modify the code <font color="#FF0000"> to include two
number signs (##FF0000). This escapes the number sign, essentially telling ColdFusion that this is a number sign
that you want it to ignore, since it is not a ColdFusion variable but needs to be printed in the HTML.
14. Save and browse the page again to display one art piece.
Figure 52. A record of data
from the database displayed
in the browser
Kommentare zu diesen Handbüchern