title: PHP getting values from one form to another
body: <p>loginform.php</p>
  
  <pre><code>&lt;form action="" method="post"&gt;
  &lt;font size="12px"&gt;&lt;label&gt;&lt;b&gt;USER ID:&lt;/b&gt;&lt;/label&gt;&lt;span id="tab6"&gt;&lt;/span&gt;
  &lt;input type="text" name="t1"  title="Enter The Station Id" maxlength="5"&gt;
  </code></pre>
  
  <p>newform.php</p>
  
  <pre><code>&lt;input type="text" value="&lt;?php $_POST["t1"]; ?&gt;"&gt;
  </code></pre>
  
  <p>i want to get the value of the userid textbox in <code>logingorm.php</code> and display the content in the textbox in <code>newform.php</code>
  i have added some validations so i don't want to use <code>action="newform.php"</code> is there any other way to get the values from one form to another.</p>