Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to do this?.

Explorer ,
Dec 04, 2008 Dec 04, 2008
<cfquery name="sel_q" datasource="#dsn#" username="#user#" password="#pass#">
select deptid from tbl_dept
</cfquery>

I am displaying this inside a cfoutput...so i don't need cfoutput for this.

#sel_q.deptid#


How can i display all values from query result in this format

10,11,13

do i need to use query loop for this or we have some function for this?.
TOPICS
Getting started
285
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 04, 2008 Dec 04, 2008
LATEST
valuelist()
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources