title: How to check if a link has been clicked in php
body: <p>Well I am new to this so I want to record when the user clicks on the link that php prints and query a mysql database. I know how to query the database using php already but I'm not sure if it is possible to know if the user clicked on the link.</p>
  
  <p>I printed a link like so.</p>
  
  <p><code>print ('&lt;a id="myLink" href="http://www.google.com" target="_blank"&gt;google&lt;/a&gt;');</code></p>