PHP search problems

Source: Internet
Author: User
For PHP search problems, I want to create a search function to display search keywords in the search box on the page after the search, no matter how you click the next page or the previous page, all the keywords to be searched are displayed in the search box.


Reply to discussion (solution)

Can't you write it on the result page?

1. either use get for submission like google or baidu
The parameters are on the link and the input box directly reads the variables on the link.

2. either define a variable and save it in the memory.

How do you obtain the search keyword to search for the database? this keyword is also obtained and displayed in the input box.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.