title: PHP Get last word in URL between / and /
body: <p>How do I get the last word in a url between / and /</p>
  
  <p>For example:</p>
  
  <pre><code>http://mywebsite.com/extractMe/
  </code></pre>
  
  <p>I want to get "extractMe"  (without the quotes) from the url</p>
  
  <p><strong>NOTE: I need to get the "extractMe" equivilent of the current url.</strong></p>