Php does long tail word search.

for example, the user fills in Hello World in the from form, but the search url needs to be changed into search/nihaoshijie, but the search value is still searched according to the string of Hello World passed by the user. Since the searched url is to be changed into Pinyin, how can the code flow be realized

?

the url parameter of the https://github.com/overtrue/p.
search is Chinese characters, and the program processes it into pinyin for retrieval. If the value required to be passed is pinyin, it should be done at the front end.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1befe12-54911.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1befe12-54911.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?