Home > Backend Development > PHP Tutorial > 提交表单 按上一页表单清空了不能正确显示怎么处理

提交表单 按上一页表单清空了不能正确显示怎么处理

WBOY
Release: 2016-06-13 13:14:22
Original
785 people have browsed it

提交表单 按下一页表单清空了不能正确显示怎么办
表单有好几个变量,提交表单后,判断各个变量与数据库的字段做比较,分页显示符合要求的数据。

但按下一页内容就变了,变成了所有数据都显示。我设的条件是表单内容为空显示所有数据的。

这样才能表单变量内容不被清空了。新手希望能用代码举个例!

------解决方案--------------------
你把你的代码贴上来看看,不然怎么解决

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