I just tried to modify it:

<cfif #GetRelated.recordcount# lte #maxEntries#>
<cfoutput query="GetRelated">
<li><a href=""> <strong>#Replace(GetRelated.PROG_RL_DESCRIPTION, ".", ".</strong>", one)#</a>
</li>
</cfoutput>
<cfelse>
<cfoutput>
<cfloop query="GetRelated" endrow="#maxEntries#" >
<li><a href=""> <strong>#Replace(GetRelated.PROG_RL_DESCRIPTION, ".", ".</strong>", one)#</a>
</li>

The start tag must have a matching end tag. An explicit end tag can be provided by adding </cfif>. If the body of the tag is empty you can use the shortcut <cfif .../>.
The CFML compiler was processing:

The body of a cfoutput tag beginning on line 357, column 42.
The body of a cfoutput tag beginning on line 357, column 42.
The body of a cfoutput tag beginning on line 357, column 42.


  
The error occurred in /home/httpd/web-dev/www/ProgViewtest.cfm: line 356


354 : None
355 : <cfelse>
356 : <cfif #GetRelated.recordcount# lte #maxEntries#>
357 : <cfoutput query="GetRelated">
358 : <li><a href="">
AND THEN I GET AN ERROR:
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to