我正在使用PHP和Mysql创建一个简单的字典:每当我查询一个单词时,它都会显示它的含义,但它的URL结构看起来并不好。
现在的网址结构是这样的:http://127.0.0.1/search.php?query=Acromania
http://127.0.0.1/search.php?query=Acromania
我想要这个网址结构:http://127.0.0.1/Acromania,搜索结果页面。
http://127.0.0.1/Acromania
在PHP中有什么方法可以做到这一点吗?
https://stackoverflow.com/questions/51697593
相似问题