Im trying to output a cfquery to one line so it can be scrolled across a news ticket. My problem is that when I setup my output I get:
Item 1
Item 2
Item 3
Im trying to get:
Item 1 Item 2 Item 3 ...
So far I have gotten CF to output one line but its the first record over and over again... Not sure how that happened. Here is my code
This outputs the first record, inline, over and over again ending with the total record count of the table...
I sure could use your help,
Thanks in advance...
Item 1
Item 2
Item 3
Im trying to get:
Item 1 Item 2 Item 3 ...
So far I have gotten CF to output one line but its the first record over and over again... Not sure how that happened. Here is my code
Code:
<cfquery name="rsEvents" datasource="datasource">
SELECT event_dt, event_title
FROM table
</cfquery>
<cfset events = "#rsEvents.event_dt# - #rsEvents.event_title#">
<cfoutput query="rsEvents">#events#</cfoutput>
This outputs the first record, inline, over and over again ending with the total record count of the table...
I sure could use your help,
Thanks in advance...