title: How to pick an html 'a' <a> tag using php, especially by POST or GET technique?
body: <p>Suppose I have a code like this in my page</p>
  
  <pre><code>&lt;a href="some_url" name="" value=""&gt; Jokes&lt;/a&gt;
  &lt;a href="some_url" name="" value=""&gt; Quotes&lt;/a&gt;
  </code></pre>
  
  <p>Now If I click on one of these links, say I clicked the 'Jokes' link, I want to pick up the 'Jokes' category through POST or GET method of php and compare it my categories in MYSQL database. If there is a match, then I want to display certain details. </p>
  
  <p>Please help me on how to proceed with this.</p>