close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Passing Dynamic Variables

Thread began 1/04/2011 2:04 pm by Me | Last modified 1/12/2011 5:39 am by Me | 4323 views | 20 replies

Me

Passing Dynamic Variables

I have stored, in a MySQL table, various emails in an html format, the content column being called htmlcontent which is a column text type. I am therefore able to store many different html emails and using dynamic process able to create an email campaign where I can choose the recipients from one recordset and the html email content from another recordset an bam, the email gets sent of to all the recipients no problem.

However, I have discovered that I am unable to do one thing that would really help me, particularly in terms of tracking who opened the email. Lets say in the html email I have a stored in MySQL, I have a link which is laid out something like this when it is pulled in to the page for sending;

<p>some text here</p>

<a href="http://www.mywebdomains.co.uk/emails/january-1.php?readerID=1">Click Here to read this Online</a>

<p>some text here</p>

Note the readerID in the URL link. Is there a way to get UE to echo that id properly as currently, even though I have reference the correct recordset, when the email arrives it shows the link like this;

<a href="http://www.mywebdomains.co.uk/emails/january-1.php?<?php echo readerID=1" ?> >Click Here to read this Online</a>

As you can see it renders the whole echo function not the ID i required. Now, I understand that if I lay html out in the UE dialogue I can include dynamic elements from records sets that are available on the page but, that means I have to created a separate waue_filename_1.php for each email template I created.

I am probably overlooking something here real basic...can enyonw shine a light on a solution for me?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...