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