【发布时间】:2018-08-03 18:10:01
【问题描述】:
http://thewebsitedemo.com/Just-dial/Chandigarh.php?categories=hotel&searchkeyword=tamarind
提交表单后我有上面的网址。我想用'/'替换查询字符串静态变量。
例如。我需要这样的网址: http://thewebsitedemo.com/Just-dial/Chandigarh/hotel/tamarind
【问题讨论】:
-
用 url 和 mod rewrite 试过了吗?
标签: php string .htaccess url replace