我在这里做了什么错?我有两个页面,第一个是save.php,第二个是在用户成功注册后必须回显的谢谢。用电子邮件验证php/mysql注册
save.php
if($mail->Send()) {
}
unset($_SESSION['GENRE_REQUEST']);
}
header('Location:index.php?page=thanku=1');
exit();
}
else
{
header('Location:index.php?page=thanku=1');
exit();
}
thanku.php
<?php if(!empty($_GET['msg']))
{
if($_GET['msg']==1)
{ ?>
<tr>
<td align="center" valign="top"><b>Thank You for Registering With us.</b> <br />
<br />please activate your profile by clicking on the activation link sent to your email address.<br/></td>
</tr>
是什么你的错误?你在期待什么? – moopet
如果我理解正确,看起来你的语法错了,你不是重新导入tnahku.php并使用这个'Location:thanku.php?msg = 1'而不是'Location:index.php?page = thanku = 1' –