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.