gmz1023 Posted April 12, 2009 Share Posted April 12, 2009 Okay, so i'm new to CF. so i'm probably funking it up somewhere. but when i put a code down like this: <CFQUERY name="data" datasource="MyDB"> SELECT MyField FROM MyDB ORDER BY MyField</CFQUERY> it actually prits out SELECT MyField FROM MyDB ORDER BY MyField so what am i doing wrong? Link to comment Share on other sites More sharing options...
vchris Posted April 21, 2009 Share Posted April 21, 2009 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. Link to comment Share on other sites More sharing options...
Skemcin Posted April 21, 2009 Share Posted April 21, 2009 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.