Php: answers Cainiao questions $ SQL = "select * from lydata where name LIKE '%". $ search. "% '";
$ Query = mysql_query ($ SQL) or die ("link failed ");
While ($ row = mysql_fetch_array ($ query )){
?>
How can I make the last search disappear when I return to another page or refresh it or perform the next search?
Reply to discussion (solution)
Don't understand what you mean
The code is incomplete. let's see how your $ search is written.
Write a p to hide it. click search to hide it when the page is loaded.
$ SQL = "select * from lydata where name LIKE '%". $ search. "% '";
$ Query = mysql_query ($ SQL) or die ("link failed ");
While ($ row = mysql_fetch_array ($ query )){
?>
After the Jiuzhaigou is searched, the information of Huangshan will be directly displayed. how can the information of Jiuzhaigou be removed under Jiuzhaigou?
For this question, refer to region-level 3 linkage on the Internet.