我在這裏做了什麼錯?我有兩個頁面,第一個是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' –