NYColt
12-04-2003, 02:54 PM
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:
<td><textarea name="message" cols="40" rows="8" id="textarea" class="box"><?php
$str = "<a href=\"http://www.mysite.com\">Unsubscribe here</a>";
echo stripslashes($str);
?>
</textarea></td>
But this is the result in the newsletter:
Test 3<a href=\"http://www.mysite.com\">Unsubscribe here</a>
Any insight as to how I can correct this would be great!
Thanks
NYColt
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:
<td><textarea name="message" cols="40" rows="8" id="textarea" class="box"><?php
$str = "<a href=\"http://www.mysite.com\">Unsubscribe here</a>";
echo stripslashes($str);
?>
</textarea></td>
But this is the result in the newsletter:
Test 3<a href=\"http://www.mysite.com\">Unsubscribe here</a>
Any insight as to how I can correct this would be great!
Thanks
NYColt