title: set SESSION variable when clicking an <a href>
body: <p>I have a php script which prints href links on the page like this:</p>
  
  <pre><code>//...
  echo"&lt;link&gt;&lt;a href=\"nextpage.php\"&gt;$table_list[$i]&lt;/a&gt;&lt;br&gt;";
  //...
  </code></pre>
  
  <p>$table_list has table names from my database, and I want to go to <strong>nextpage</strong> with say <code>$_SESSION['tablename']=$table_list[$i];</code></p>
  
  <p>How can I do it?
  Thanks.</p>