title: PHP Header Location Variable Redirection and output at home page
body: <p>I have a page with <code>form</code> that makes a POST request and has one input where I put surname.</p>
  <p>After submitting the form
  I want to get from <code>SESSION['surname']</code> submitted variable
  and after that back to home_page via <code>header(&quot;Location...&quot;)</code>.</p>
  <p>I would like a last variable name to appear on the main page under the form.
  How to do it?</p>
  <p>can anyone guide on this?</p>