Question
Passing an ID in a URL as a variable
I am trying to do the following...
Take a URL www.site.com and append it with www.site.com/index.cfm?id=3 where id can really equal any number.
I can do this and pass the data on the same page like so
REFER TO ATTACHED CODE PLEASE...
This will work in the scope of the page I have it written. What I am doing is adding the subject with the addition of a number to very some email for marketing.
I am using the same template form to have users fill out and then <CFMAIL> to send the mail out with #subject# being pulled from the page that I have CFSET the URL.ID. If I do a <CFSET subject="this is the email subject"> without the URL.ID things work fine.
Is there any way I can pass the URL.ID number to my template to correctly label my subject line?
Thanks!
Dave
Take a URL www.site.com and append it with www.site.com/index.cfm?id=3 where id can really equal any number.
I can do this and pass the data on the same page like so
REFER TO ATTACHED CODE PLEASE...
This will work in the scope of the page I have it written. What I am doing is adding the subject with the addition of a number to very some email for marketing.
I am using the same template form to have users fill out and then <CFMAIL> to send the mail out with #subject# being pulled from the page that I have CFSET the URL.ID. If I do a <CFSET subject="this is the email subject"> without the URL.ID things work fine.
Is there any way I can pass the URL.ID number to my template to correctly label my subject line?
Thanks!
Dave
