Description

Writes an output to a page. WriteBody should be used within a tag with a body only.

Category

Syntax

WriteBody(value)

Parameters

Parameter

Description

value

A string or any variable.

See also

Example

<cfscript>
       query = {datasource="cfartgallery",name="x" };
       cfquery(attributeCollection=query)
       {
          writeBody("select * from art where artistid=1 and artid = "); 
                                                                                     
          cfqueryparam(value="1",cfsqltype="CF_SQL_INTEGER");
        }
        WriteDump(x);           
</cfscript>

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy