对于下面的链接,我希望$ link1在底部显示为锚文本“Comment Link”作为超链接。相反,整个链接显示在底部。
我怎么能这样做只有“评论链接”显示?
提前致谢,
约翰
$link1 = "<a href='http://www.domain.com/path/comments/index.php?submission=".urlencode($submission)."&submissionid=".urlencode($submissionid)."&url=".urlencode($url)."&countcomments=".urlencode($countcomments)."&submittor=".urlencode($submittor)."&submissiondate=".urlencode($submissiondate)."&dispurl=".urlencode($dispurl).">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
";
答案 0 :(得分:1)
在你的主播的href
属性结尾处缺少关闭。