开发者

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

开发者 https://www.devze.com 2023-01-29 21:43 出处:网络
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

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

精彩评论

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