Questions about php search

Source: Internet
Author: User
Questions about php search 1. click the search page in the header to go to the search page 2. when the search page is displayed, the drop-down box is automatically positioned as the first option in the drop-down box, and the table is searched based on the positioning content, which is shown below 3. if the data table referenced in the drop-down list has no content, the drop-down list is not realistic and the following content is displayed: & lt; p & gt; add & lt;/p & gt; 4 in the drop-down list. if the data table referenced in the drop-down box has content, search by table id for php

1. click the search page in the header to go to the search page.
2. when the search page is displayed, the positioning drop-down box is automatically the first option in the drop-down box, and the table is searched based on the positioning content, which is displayed below
3. if the data table referenced in the drop-down list has no content, the drop-down list and the following content are not displayed:

Add a drop-down box


4. if the data table referenced in the drop-down list has content, sort by Table id, locate the content in the drop-down list, and click the search button to search. The result is displayed below?


How can this problem be achieved?
------ Solution --------------------
This is not exactly what PHP can do. as a webmaster, you should combine HTML, CSS, javascript, and then PHP (or others.
------ Solution --------------------
Google ha automatically completes the plug-in
------ Solution --------------------
This is done by axure.
As Lou said, you cannot use php only.
However, the core of search is php and mysql.
Js is required for pull-down
Css and html are used for webpage layout
Ajax is required to query the result of a refreshing page.
------ Solution --------------------
Jquery automatically prompts many plug-ins.
------ Solution --------------------
Css + js
------ Solution --------------------
Php is not so powerful yet

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.