title: run php on html link click and stay on same page after refresh
body: <p>I have a table of data that I want to allow users to remove rows from by clicking a link in the table. I'm looking to have the page refresh and the row that the user selects removed from the table. This is done based on calling a php function which alters the table's database. What I have so far is</p>
  
  <pre><code>&lt;tr&gt;
      &lt;td width = '35%'&gt;&lt;?php echo $the_title?&gt;&lt;/td&gt;
      &lt;td width = '20%'&gt;&lt;?php echo $val1?&gt;&lt;/td&gt;
      &lt;td width = '10%'&gt;&lt;?php echo $val2 ?&gt;&lt;/td&gt;
      &lt;td width = '15%'&gt;&lt;a href='?remove_now=&lt;?php echo $row?&gt;' name=''&gt;Remove Now&lt;/a&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;?php
  
  if (isset($_GET['remove_now'])){
      $row_to_remove=$_GET['remove_now'];
      my_func ($row_to_remove);}
  
  ?&gt;
  </code></pre>
  
  <p>When I click the Remove Now link it changes the page, because I'm already on a hashed page, which I don't want it to do. It also doesn't run my_func. 
  Any thoughts? Thanks</p>