My $_POST and $_GET dont work
<p>I tried doing an <code>isset($_POST['btnSubmit']</code>. It gives me nothing so tried to var_dump it. It sais itis empty both before and after i click the button . I even tried to print_r it like this <code>print_r($_POST['btnSubmit']);</code>. What it gives me is:</p>

<blockquote>
  <p>Undefined index: btnSubmit in</p>
</blockquote>

<p>Same thing happens if I use <code>$_GET</code>, <code>$_SESSION</code> , <code>$_COOKIE</code>. </p>

<p>Here is the <code>.tpl</code> file:</p>

<pre><code>&lt;html lang="sv"&gt;
  &lt;head&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  &lt;link rel="stylesheet" type="text/css" href="passwordRetrivalStyle.css"&gt;
  &lt;script src="http://code.jquery.com/jquery-latest.min.js"
        type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="skriptRetrival.js"&gt;&lt;/script&gt;
  &lt;title&gt;{$title}&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;header&gt;&lt;img src="arrow-back.svg" alt="arrow-back.svg" onclick="goBackFunction()" id="arrow-back"&gt;&lt;/header&gt;

  &lt;div id="content"&gt;
    &lt;form method="post" action="passwordRetrival.inc.php"&gt;
      &lt;center&gt;&lt;span id="headText"&gt;{$headText}&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;/center&gt;

      &lt;center&gt;&lt;span id="smallText"&gt;{$smallText}&lt;/span&gt;&lt;/center&gt;&lt;br/&gt;

      &lt;center&gt;&lt;input type="text" name="txtForgot" class="txtForgot" placeholder="Email" /&gt;

      &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;
    &lt;/center&gt;


      &lt;center&gt;&lt;input type="submit" name="btnSubmit"  value="Retrieve Password" class="forgotSubmit" /&gt;&lt;/center&gt;
      &lt;center&gt;&lt;input type="submit" name="btnDone" value="Ok, got it" class="newButtonFinished" /&gt;&lt;/center&gt;
      &lt;br/&gt;&lt;br/&gt;
      &lt;center&gt;&lt;div id="opsMSG"&gt;&lt;/div&gt;&lt;/center&gt;
      &lt;center&gt;&lt;div id="errorMsg"&gt;&lt;/div&gt;&lt;/center&gt;
    &lt;/form&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>