Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/234.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
php中通过url的消息传递_Php - Fatal编程技术网

php中通过url的消息传递

php中通过url的消息传递,php,Php,我正在为我的网站进行电子邮件验证。在确认电子邮件后,我想用电子邮件Id作为post变量将页面重定向到。困难是-我无法在重定向页面上获取电子邮件Id if($result2){ echo"your profile is active"; ?> <a href=" fill_profile.php?email=<?php $email?>">fill profile </a> <?php $sql3="DELETE FROM $tbl_name1 WH

我正在为我的网站进行电子邮件验证。在确认电子邮件后,我想用电子邮件Id作为post变量将页面重定向到。困难是-我无法在重定向页面上获取电子邮件Id

if($result2){
echo"your profile is active";
?>
<a href=" fill_profile.php?email=<?php $email?>">fill profile </a>
<?php
$sql3="DELETE FROM $tbl_name1 WHERE confirm_code = '$passkey'";
$result3=mysql_query($sql3);

}

}
?>
if($result2){
回显“您的个人资料处于活动状态”;
?>


您忘记了将电子邮件回送至浏览器,因此它不会出现在url中。您要向浏览器发送的任何内容都应该是
echo

if($result2){
echo"your profile is active";
?>
<a href=" fill_profile.php?email=<?php echo $email?>">fill profile </a>
<?php
$sql3="DELETE FROM $tbl_name1 WHERE confirm_code = '$passkey'";
$result3=mysql_query($sql3);

}

}
?>
if($result2){
回显“您的个人资料处于活动状态”;
?>

您忘记了将电子邮件
回送至浏览器,因此它不会出现在url中。您要向浏览器发送的任何内容都应该是
回送

if($result2){
echo"your profile is active";
?>
<a href=" fill_profile.php?email=<?php echo $email?>">fill profile </a>
<?php
$sql3="DELETE FROM $tbl_name1 WHERE confirm_code = '$passkey'";
$result3=mysql_query($sql3);

}

}
?>
if($result2){
回显“您的个人资料处于活动状态”;
?>