b.phpecho "b";?> 为什么在页面上没有任何内容输出? 回复内容: test.phpecho "a";header("location: b.php");?> b.phpecho "b";?> 为什么在页面上没有任何内">
输入banner图图片脚本导航/分类

php页面跳转

test.php
echo "a";
header("location: b.php");
?>

b.php
echo "b";
?>

为什么在页面上没有任何内容输出?

回复内容:

test.php
echo "a";
header("location: b.php");
?>

b.php
echo "b";
?>

为什么在页面上没有任何内容输出?

你少了一个 ? 号

竟然没有报错,果然是关闭了display error。