Home  >  Article  >  Backend Development  >  初学PHP,请教,PHP5页面间的参数如何传递

初学PHP,请教,PHP5页面间的参数如何传递

WBOY
WBOYOriginal
2016-06-13 13:14:26772browse

初学PHP,请问,PHP5页面间的参数怎么传递?
在index.php中有个查询表单,想要在query_ok.php页面中用这个参数.  
在index.php中的一段代码:  

 
输入要查询的学号  
 
 
 

query.php页面中:  
插入了一个动态表格,之前已经创建好了一个记录集,并应用了 "筛选 ",  
只显示符合index.php中输入的 "学号 ".  
结果没有成功.只有页面跳转,但是没有显示查询结果.  

请问:怎么样可以实现单击index.php中的 "查询 "按钮,就可以转到query.php页面,并显示符合index.php输入的 "学号 "的查询内容.  
谢谢.

------解决方案--------------------
可以在php.ini里面设置,变量为全局变的话,你直接$textfield13这样都可以达到目的
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