Home  >  Article  >  Backend Development  >  如何用地址栏传递变量

如何用地址栏传递变量

WBOY
WBOYOriginal
2016-06-13 13:33:311161browse

怎么用地址栏传递变量
各位大大,我有段代码

User: Title:

是标题,我想点击跳到另一个页面同时向把$array[title]的值也传给下一个页面。我试了下
link=好像没什么用,似乎link=后面只能传常量。因为数据库中有很多标题,每一个都要可以打开下一个页面所以要用变量。应该怎么解决?

------解决方案--------------------
首先确认$array['title'] 有值。在下个页面 print_r($_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