title: HTML/PHP display current date in html date input
body: <p>I am using a <code>date input</code> type to select a date in my PHP project.</p>
  
  <p>Now everytime I submit the form I want to display the <code>date</code> in the input that has been selected.</p>
  
  <p>This is what I've tried:</p>
  
  <pre><code>&lt;?php $date = $_GET['date']; ?&gt;
  &lt;input placeholder="&lt;?php $date ?&gt;" type="date" name="date" id="date"  /&gt;
  </code></pre>
  
  <p>But unfortunately this doesn't seem to work.</p>
  
  <p>Anyone has any idea if my goal is possible?</p>
  
  <p>Many thanks in advance!</p>