title: How can I insert a value into an html input with php?
body: <p>I am trying to fill out html input forms on a website with variables that I have beforehand saved into a file.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>&lt;input type="text" class="form-control" name="ausgabe" placeholder="Januar 2016" value="&lt;?php
                $myfile = fopen("/Template/newfile.txt", "r") or die("Unable to open file!");
                echo = fread($myfile,filesize("/Template/newfile.txt"));
                fclose($myfile);
              ?&gt;"&gt;
  </code></pre>
  
  <p>Shouldn't this theoretically work?</p>
  
  <p>I am happy for any help.</p>