Forum Moderators: open
<cfquery name="cheese">
SELECT ..........
</cfquery>
now, here's the output of 'cheese'
<cfoutput query="cheese">
<tr>
<td>#subject# - #date#</td>
</tr>
<tr>
<td>#maindata# - <a href="article.cfm?id=#rowid##link">Discuss</a></td>
</tr>
</cfoutput>
Ok, the problem obviously occures in the link. I'm trying to allow users to jump straight to the 'discussion' portion of the article.cfm (<a name="link">discussion</a>) document, but coldfusion throws an error because #link (in the href) doesn't have a trailing #, but it's not a coldfusion command!
How can I get around this? I thought maybe an &<code>;, but I was unable to find one for a #.
Sorry if the question isn't clear :-/ Ask if you're confused, please. I'm probably overlooking the easy solution.