使用引导CSS时出现href标记问题

问题描述 投票:0回答:1

我最近制作了一个登录页面的项目。一切正常,除了首页中的href标记,然后注销(放置),这是代码图像href (please consider from line 20 to 37)

这是注销代码的代码

  `$_SESSION["uid"]="";
header('Location: index-alt-login.php');
}else {
 header('Location: index-alt-login.php');
 }`

[请帮助我解决此问题,给您带来的不便,敬请谅解

php html css bootstrap-4 href
1个回答
0
投票

[据我所知,您在那里缺少if(){部分。添加它,它应该可以正常工作!或者如果是错误的,请编辑问题!

赞:

$_SESSION["uid"]="";
if($something){
   header('Location: index-alt-login.php');
}else {
   header('Location: index-alt-login.php');
}
© www.soinside.com 2019 - 2024. All rights reserved.