Jump to content


Check out our Community Blogs

Fischerspooner

Member Since 06 Dec 2006
Offline Last Active Dec 13 2006 05:12 AM
-----

#322714 Coldfusion Example Code

Posted by Fischerspooner on 09 December 2006 - 01:58 AM

Querying a DB.
<cfquery name="myQuery" datasource="yourODBCdatasource">
   SELECT * FROM table
</cfquery>

<!--- now show me all the records from the query  --->
<cfoutput query="myQuery">
#field1# - #field2# - #field3#
</cfoutput>

We use it at work for our intranet
  • -1


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download