passing two URL variables
Hi,
I'm working on a page like this:
http://mymindsnotright.com/discussionGenReplies.cfm?post_id=22
and am trying to make it so the link for each "Post Reply" link (save for the "Post Reply" link below the main topic) adds another url variable after the post_id variable. The new variable I want to add would be the "user_id" for each reply, so each "Post Reply" link is specific to the person who posted the reply...
basically, I want it to look like this after lcikcing one of the "Post Reply" link
http://mymindsnotright.com/discussionGenReplies.cfm?post_id=22&user_id=(the user id of the person who posted the reply)#replytest
(the link doesn't go to a new page but rather to a named anchor lower down on the page)
The closest I can get is with this:
<a href="?post_id=<cfoutput>#rsGenPost.post_id#</cfoutput>&user_id=<cfoutput>#rsGenReplies.user_id#</cfoutput>##replytest" class="redlink"><strong>Post Reply</strong></a>
but when I click that link, I get this:
