email - How to send a link in mail using PHP
64
I am trying to send a link in the mail using PHP but i am not able to format it properly :
$message=".<a href=."http://abc.com/viewprofile.php?userid=".$user_id.">"Click here to view user profile"</a>";
Answer
Solution:
Escape the quotes around
href
: