• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

adding link in php mail()

how would i make the link work in the below code?
$text = "
A reply has been posted to a topic you are watching ". $gettopic3['title']." by ". $gettopic3['lastposter'].".
 
Please follow the link: <a href=\"http://www.runningprofiles.com/members/index.php?page=message&forum=$forum&id=$forumpostid&pagenum=last">index.php?page=message&forum=$forum&id=$forumpostid&pagenum=last</a>";

Open in new window

0
runnerjp
Asked:
runnerjp
1 Solution
 
cr4ck3rj4ckCommented:
Try this,
CJ
$text = "
A reply has been posted to a topic you are watching ". $gettopic3['title']." by ". $gettopic3['lastposter'].".
 
Please follow the link: <a href=\"http://www.runningprofiles.com/members/index.php?page=message&forum=$forum&id=$forumpostid&pagenum=last\">index.php?page=message&forum=$forum&id=$forumpostid&pagenum=last</a>";

Open in new window

0
 
Cornelia YoderArtistCommented:
$text = "A reply has been posted to a topic you are watching ". $gettopic3['title']." by ". $gettopic3['lastposter'] . ".  Please follow the link: www.runningprofiles.com/members/index.php?page=message&forum=$forum&id=$forumpostid&pagenum=last" ;

 


 
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now