How do I add an anchor to a url when the url also includes a coldfustion query variable?

I have the following url that I want to add an anchor to:

<a href="delete_employee_privilege.cfm?EmployeePrivilegeID=#getPrivileges.EmployeePrivilegeID#">

I know with a normal url variable you just add #anchor at the end and it works, but it does not work with url variable is a coldfusion variable.  Is there some syntax that will make this work in this situation
<table>
    	<!--- Setup table headers --->
		<tr>
        	<th><a name="anchor"></a>Options</th>
            <th>Order</th>
            <th>Privileged</th>
            <th>Add/Remove Privilege</th>
        </tr>
        <cfoutput query="getPrivileges" group="Privilege">
        <!--- cfif below will alternate background color in the table row --->
        <tr <cfif #currentrow# mod 2 gt 0>bgcolor="##CFDEB1"</cfif>>
            <td>#Privilege#</td>
            <td class="alignCenter">#Sequence#</td>
        	
            <!--- Determine if Employee Privilege Exists --->
            <cfif GivePrivilege IS 1>
           		<cfset IsPrivileged = "yes">
            <cfelse>
            	<cfset IsPrivileged = "no">
            </cfif>
            <td class="alignCenter">#IsPrivileged#</td>   
            <td class="alignCenter">
            <!--- Deterimine whether to add or remove privilege --->
            <cfif GivePrivilege IS 1>
            	<a href="delete_employee_privilege.cfm?EmployeePrivilegeID=#getPrivileges.EmployeePrivilegeID#">
                Remove Privilege</a>            
			<cfelse>
            	<a href="add_employee_privilege.cfm?EmployeeID=#URL.EmployeeID#&PrivilegeID=#getPrivileges.PrivilegeID#">
                Add Privilege</a>
            </cfif>
            </td>
        </tr></cfoutput>
        
    </table>

Open in new window

lonnyoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew MaurerCommented:
Like so...
<a href="add_employee_privilege.cfm?EmployeeID=#URL.EmployeeID#&PrivilegeID=#getPrivileges.PrivilegeID###myAnchorTag">

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lonnyoAuthor Commented:
Thank you.  I should have known that.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.