Cold Fusion programming language: Difference between revisions

Content deleted Content added
Joshuah (talk | contribs)
No edit summary
Joshuah (talk | contribs)
mNo edit summary
Line 6:
 
<cfquery name="nameofquery" datasource="odbc_connection" username="simple" password="enough">
 
Select * from table
where field = 'whateveryouaresearchingfor'
 
</cfquery>
 
<cfoutput query="nameofquery">
#field_from_query# // This is a variable
<!--- Above is called a variable, this text here is just comments !--->
</cfoutput>