title: add var to a href in file where this var is loaded from database
body: <p>I want the var fam_id in the a href as a session var </p>
  
  <pre><code>$sql = "SELECT * FROM kinderen WHERE fam_id between $fammin and $fammax order by fam_id"; 
  $result = $conn-&gt;query($sql);
  if ($result-&gt;num_rows &gt; 0) {
      while($row = $result-&gt;fetch_assoc()) {
          echo "&lt;tr&gt;
                  &lt;td&gt;&lt;a href='kindtwee.php'&gt;". $row["fam_id"] ." &lt;/a&gt;&lt;/td&gt;
                  &lt;td&gt;". $row["naam"] ."&lt;/td&gt;&lt;td&gt;". $row ["vnaam"] ."&lt;/td&gt;
                  &lt;td&gt;". $row ["pnaam"] ." &lt;/td&gt;  
                  &lt;td&gt;". $row ["pvnaam"] ."&lt;/td&gt;
              &lt;/tr&gt;";
      }
  }
  </code></pre>