Skip to content
Advertisement

Tag: parse-url

Getting the second part of a URL through PHP

I’m trying to setup a page that pulls just a part of the URL but I can’t even get it to echo on my page. Since I code in PHP, I prefer dynamic pages, so my urls usually have “index.php?page=whatever” I need the “whatever” part only. Can someone help me. This is what I have so far, but like I

Advertisement