Home > Backend Development > PHP Tutorial > php页面跳转

php页面跳转

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:25:21
Original
1092 people have browsed it

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

b.php
echo "b";
?>

php页面跳转

php页面跳转

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

回复内容:

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

b.php
echo "b";
?>

php页面跳转

php页面跳转

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

<?php

你少了一个 ?

php页面跳转

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

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template