title: Getting the URL from a dynamically generated page
body: <p>I have a site with a page in it that dynamically pulls a family profile from a database that contains a bunch of family data.</p>
  
  <p>The generated url looks something like this:
  <a href="http://example.com/family/?name1-name2/" rel="nofollow">http://example.com/family/?name1-name2/</a></p>
  
  <p>I have a contact form on this page, and I want to include the current url in each contact submission so that I can tell which family's page the form is coming from.  </p>
  
  <p>I don't know much php at all, I'm wondering what php can be used to grab the url.</p>