开发者

How do I get the current URL and then get the last words

I want to get the url I'm on and then get what's after the =

For example if I were on: http://chusmi开发者_如何学Pythonx.com/?s=pizza

It should echo pizza


It's called a query string and can be retrieved via the $_GET associative array.

$_GET["s"]
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜