Okay, so i'm new to CF. so i'm probably funking it up somewhere. but when i put a code down like this:
CODE
<CFQUERY name="data" datasource="MyDB"> SELECT MyField FROM MyDB ORDER BY MyField </CFQUERY>
it actually prits out
CODE
SELECT MyField FROM MyDB ORDER BY MyField
so what am i doing wrong?
vchris
Apr 21 2009, 01:46 PM
I don't see how it would print your query out unless there's more code that you're not showing us. Anything within a cfquery shouldn't be displayed.
Skemcin
Apr 21 2009, 05:37 PM
IS the file saved as .cfm or .htm? If you are not saving the file with the correct extension, then ColdFusion will never be able to process the request.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.