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"]
精彩评论