I am trying to add a feature to my site that seems to be a common practice these days on the web. I would like to have a link that says Tell a Friend if the user wants to email someone about the page they are viewing.
I need help populating the body field in the mail client. I have it working to where the info appears in the body as it should, but I want to know if there is a way to add line breaks and also how I can make sure the link actually appears as a hypertext link versus just text.
here is what i have right now:
Code: Select all
<a href="mailto:?subject=<?php echo 'Thought of you when I read this';?>&body=Check out their profile when you get a chance and see if this post is something you want. http://www.mysite.com/profile.php?username=<?php echo $row_getPOSTER['username'];?>" title="tell a friend" class="boldFont">Tell a friend</a>
Thank you!