Parameter
Last updated on
Oct 27, 2023
Description
Writes an output to a page. WriteBody should be used within a tag with a body only.
Category
Syntax
WriteBody(value)
Parameters
|
|
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>