Home  >  Article  >  Backend Development  >  php怎么继承获取的值

php怎么继承获取的值

WBOY
WBOYOriginal
2016-06-13 13:22:42657browse

php如何继承获取的值
//a页

商铺

//b页

echo $name= $_GET['name'];这里能显示 北京

>商铺如何继承name的值继续连接,而不会变成空呢

谁帮我解答一下,小弟不胜感激!

------解决方案--------------------
>商铺
------解决方案--------------------
这不是继承,而是页面间传值。你的这种思路即是用http GET方式传递参数。

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