title: Can´t save $_POST from <form> into .html
body: <p>I try to save <code>$_POST</code> from a <code>&lt;form&gt;</code> into a .txt file. If i click on the submit button, my code will save only the <code>$date</code> variable, and not <code>$date</code> &amp; <code>$hour</code>.</p>
  
  <p>This is my form in "form.php"</p>
  
  <pre><code>&lt;form method="post" action="save.php" id="formID"&gt;
   &lt;input type="text" name="Name" placeholder="Name" id="nameFieldID"&gt;
    &lt;input type="text" name="Hour" placeholder="Hour" id="hourFieldID"&gt;
     &lt;input type="submit" name="" value="" id="submitButton"&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>This is the code in my "save.php"</p>
  
  <pre><code>&lt;?php
  setlocale(LC_ALL, "de_DE.utf8");
  date_default_timezone_set('Europe/Berlin');
  error_reporting(E_ALL);
  
  $date = date("d.M Y");
  $time = date("H:i:s");
  $name = $_POST["Name"];
  $hour = $_POST["Hour"];
  
  $file = "nameAndHour.txt";
  $handle = fopen($file, "a");
  $details = fread($handle, filesize($file));
  
  fclose($handle);
  
  $handle = fopen("nameAndHour.txt", "a");
  fwrite($handle, $detail);
  fwrite($handle, $date, "\t");
  fwrite($handle, $time, "\t");
  fwrite($handle, $name, "\t");
  fwrite($handle, $hour);
  fclose($handle);
  
  include('form.php');
  ?&gt;
  </code></pre>
  
  <p>Could anybody help me, to get the <code>$_POST</code> variables in the my .txt file? What am I doing wrong?</p>