PHP use page name as variable
<p>What I would like to do is say someone comes to my site and goes to </p>

<p><code>www.site.com/users/james</code></p>

<p>The page <code>/james</code> won't exist so I want to take the name <code>james</code> and use it to then display a profile page based on that user name i.e use <code>james</code> in a search to pull back info from my DB.</p>

<p>What would be the best way to do this?</p>
