Passing part of a URL to PHP and return results from a database
<p>I'm working on an interactive map and I am wondering if it's possible to pass part of a URL to a PHP script and have it look up information and then fetch it back to display within an iframe in a lightwindow.</p>

<p>The map is CSS based and each the link on each state within the href contains the state name (e.g. - #statename).</p>

<p>When a user clicks on the map, the #statename is appended to the URL.</p>

<p>I'm wondering that if it's possible to pass that part of the URL (#statename) to PHP and have it run the script from there?</p>

<p>Here's a link to the interactive map that I am working on. If you click on the state of Texas you'll see what I mean:</p>

<p><a href="http://sjdunham.com/beta/maptest/" rel="nofollow">http://sjdunham.com/beta/maptest/</a></p>
