cleanair4me
Technical User
- May 16, 2008
- 61
I would like to know if there is something where I can automatically output all fields from one table so I dont have to manually put in each field name:
Is there a dynamic array or ColdFusion method that can automatically output all the values from one table?
Code:
<cfquery name = "myQuery" datasource = "mydsn">
select * from tableOne
</cfquery>
<cfoutput query="myQuery">
#city#<br>
#state#<br>
#county#<br>
#country#<br>
#continent#<br>
</cfoutput>
Is there a dynamic array or ColdFusion method that can automatically output all the values from one table?