Skip to main content
lovewebdev
Inspiring
September 21, 2009
Answered

Output query with HTML delimiters. Remove at end of loop

  • September 21, 2009
  • 1 reply
  • 646 views

I have <cfoutput query="rsgenre"> #rsgenre.genre# / </cfoutput>

which gives me:

crime / mystery / comedy /

How can i drop the character at the end to get:

crime / mystery / comedy

This topic has been closed for replies.
Correct answer ilssac

One method.

<cfoutput query="rsgenre"> #rsgenre.genre# <cfif rsgenre.currentRow NEQ rsgenre.recordCount>/</cfif> </cfoutput>

1 reply

ilssac
ilssacCorrect answer
Inspiring
September 21, 2009

One method.

<cfoutput query="rsgenre"> #rsgenre.genre# <cfif rsgenre.currentRow NEQ rsgenre.recordCount>/</cfif> </cfoutput>
lovewebdev
Inspiring
September 22, 2009

Thanks!