Home > Backend Development > PHP Problem > What should I do if php does not jump to the page?

What should I do if php does not jump to the page?

藏色散人
Release: 2023-03-04 06:24:01
Original
3842 people have browsed it

Solution for php not to jump to the page: 1. Use javascript instead to implement the jump, and the statement is "echo "<script>location='/manage'</script>";
" ;2. Set the encoding to "utf-8".

What should I do if php does not jump to the page?

Recommended: "PHP Video Tutorial"

1. You can try using javascript to jump to the page.

 echo "<script>location=&#39;/manage&#39;</script>";
Copy after login

2. For coding issues, write

header("Content-type: text/html; charset=utf-8");
Copy after login
at the front

The above is the detailed content of What should I do if php does not jump to the page?. For more information, please follow other related articles on the PHP Chinese website!

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template