title: Keep value in input box when the page is refreshed
body: <p>I want to keep the value from a input box even when the page is refreshed.</p>
  
  <p>I know that i could do that using just an echo, but i'm connecting two different files.</p>
  
  <p>I have one page with the form:</p>
  
  <pre><code>&lt;form method="POST" action="mypage.php"&gt;
  &lt;input type="hidden" name="value" value="test"&gt;
  &lt;input type"submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And another one(mypage.php) that reads the form</p>
  
  <pre><code>&lt;input type="text" name="value" value='&lt;?php echo $_POST['value']; ?&gt;' /&gt;
  </code></pre>
  
  <p>The code is working, bue lets imagine that someone refreshed the page and the value desappears.</p>
  
  <p>I want to know how can I keep the value inside the textbox even when someone refreshes the page.</p>
  
  <p>Thanks.</p>