Home  >  Article  >  Backend Development  >  如何让页面跳转,但地址不变

如何让页面跳转,但地址不变

WBOY
WBOYOriginal
2016-06-13 10:46:321938browse

怎么让页面跳转,但地址不变?
常规跳转方法无非是header meta location 但这些跳转方式都会使地址栏的地址发生变化,怎么能让地址栏地址不变?

------解决方案--------------------
极其简单的
if(xxx) include 'yyy';

Statement:
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