title: get file from input to text file
body: <p>i´m trying to get the info from my form input boxes in to a txt file. 
  when i hit submit the variable do not come up in tje url bar and it do not save it to the txt file.. 
  can somebody help me ? :)</p>
  
  <p>here are the link to the site:</p>
  
  <p><a href="http://thom239u.keaweb.dk/quiz/minquiz.php" rel="nofollow">http://thom239u.keaweb.dk/quiz/minquiz.php</a></p>
  
  <pre><code>$deltager = file_get_contents("deltager.txt");
  
  if(isset($_GET["name"])){
      $fornavn = $_GET["fornavn"];
      $efternavn = $_GET["efternavn"];
      $mail = $_GET["mail"];
      $deltager .= "&lt;h3&gt;" . "Navn: " . $fornavn . " " . $efternavn . "&lt;/h3&gt;"."&lt;p&gt;" . "E-mail: ". $mail . "&lt;br&gt;" ."**************************" . "\n"; 
      $liste = file_put_contents("deltager.txt", $deltager);
  }
  
  
          &lt;form action="minquiz.php" method="GET" id="form"&gt;
              &lt;input type="radio" id="svar" name="by" value=1&gt;København &lt;br&gt;
              &lt;input type="radio" id="svar1" name="by" value=2&gt;Århus &lt;br&gt;&lt;br&gt;
  
              &lt;input type="text" name="fornavn" id="fornavn" placeholder="Fornavn" required=""&gt;&lt;br&gt;
              &lt;input type="text" name="efternavn" id="efternavn" placeholder="Efternavn" required=""&gt;&lt;br&gt;
              &lt;input type="text" name="mail" id="mail" placeholder="E-mail" required=""&gt;&lt;br&gt;
              &lt;input type="submit" value="Send"&gt;
          &lt;/form&gt;
  </code></pre>