Questions about PHP Search

Source: Internet
Author: User
Questions about PHP Search

1. Go to the search page after clicking on the search page of the header
2. Search Page one entry on the Position drop-down box is automatically the first option in the drop-down box, and the table is searched according to the content of the positioning, shown below
3. If the data table referenced by the drop-down box has no content, the drop-down box and the following content are not displayed, only the

Please add a drop-down box inside


4. If the data table referenced by the drop-down box has content, sort by the ID in the table, locate the content by the drop-down box, then click the Search button to search, and the result is displayed below?


How can this be achieved by consulting?
------Solution--------------------
This is not entirely PHP can be done, as a webmaster, you should be HTML, CSS, JavaScript, and then PHP (or other) comprehensive use.
------Solution--------------------
Landlord Google ha Auto-complete plugin
------Solution--------------------
Visual landlord this is done with axure
As the building says, you're not going to make it through PHP.
However, the core of the search is PHP and MySQL
The drop-down needs to use JS
Page layout used to css,html
No Refresh page query results need to use AJAX, etc.
------Solution--------------------
jquery Auto Tip plugin, a lot of.
------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.