发布网友 发布时间:2022-04-06 05:08
共1个回答
热心网友 时间:2022-04-06 06:38
答1:if($ok){header("location:ok.php");}______________________________________________________________________________________________答2:跳到另一页面传递参数,
header("location:checkPassword.php");}______________________________________________________________________________________________答3:if(条件满足){header("Location: nextPage.php");}注意要在PHP的头部使用,就是说还没有HTML输出的时候
______________________________________________________________________________________________答4:if (true){echo "<meta http-equiv=refresh content='1;url=转向页面地址'";}