Embed a Link into a Newsletter
Hello Again All,
I have a php mailing List script that I want to embed an unsubscribe link into.
The problem is that the link is not showing up in the news letter but the code is.
I thought it may have been because it needed stripslashes so I did that.
Here is the code:
<?php
$str = "<a href=\"http://www.mysite.com\">Unsubscribe here</a>";
echo stripslashes($str);
?>
But this is the result in the newsletter:
Test 3Unsubscribe here
Any insight as to how I can correct this would be great!
Thanks
NYColt
Suzanne posted this at 16:20 — 4th December 2003.
She has: 5,507 posts
Joined: Feb 2000
Unsubscribe here
What is the textarea for!?
If you're using php to write the specific url and it's different for different newsletters, just use single quotes:
$str = 'Unsubscribe here';
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.