Use PHP to track links
<p>I have various links in my website that point to a specific form.</p>

<p>Whenever someone fills out the form, I want to be able to know what link led them to the form.</p>

<p>I want to do this without having to create an individual line of PHP code for every link I create in the. Instead, I want to have some PHP code that picks up something from that link, and maybe inserts it into a hidden text box that gets its value or text from something that I tag in the link.</p>

<p>For example:</p>

<ol>
<li>User clicks a link.</li>
<li>That link directs them to a form.</li>
<li>The link carries an identification that activates PHP code</li>
<li>When I recieve the form, I know what link was clicked to get to that form.</li>
</ol>

<p>I want it to work with links in emails I send out as well.</p>
