title: Dealing with online newspaper headline link in PHP
body: <p>I have seen on most online newspaper websites that when i click on a headline link, e.g. <code>two thieves caught red handed</code>, it normally opens a url like this: <code>www.example.co.uk/news/two-thieves-caught-red-handed</code>.</p>
  
  <p>How do I deal with this url in php code, so that I can only pick the last part in the url. e.g. <code>two-thieves-caught-red-handed</code>. After that I want to work with this string.</p>
  
  <p>I know how to deal with <code>GET</code> parameters like "www.example.co.uk/news/headline=two thieves caught red handed".
  But I do not want to do it that way. Could you show me another way.</p>