tags:

views:

37

answers:

1

Hello,

For the link below, I would like $link1 to appear at the bottom as the anchor text "Comment Link" as a hyperlink. Instead, the entire link is showing down at the bottom.

How could I make it so only "Comment Link" is showing?

Thanks in advance,

John

$link1 = "<a href='http://www.domain.com/path/comments/index.php?submission=".urlencode($submission)."&amp;submissionid=".urlencode($submissionid)."&amp;url=".urlencode($url)."&amp;countcomments=".urlencode($countcomments)."&amp;submittor=".urlencode($submittor)."&amp;submissiondate=".urlencode($submissiondate)."&amp;dispurl=".urlencode($dispurl)."&gt;Comment Link</a>";

    $message1 = "
Someone made the following comment on your submission $submission:

$comment


Please click the link below to see the comment in context.

$link1


";
+1  A: 

Missing closing ' at the end of your anchor's href attribute.

Mike
Should be a comment.
Jacob Relkin
It's not a comment on the code he put up. It's the reason he is seeing the full URL. Firefox etc fix up the HTML, IE doesn't.
Mike
I neither think it should be a comment. He clearly gives the solution to the problem.
clinisbut