title: PHP Forwarding Form Action/Having Multiple Actions On A Form
body: <p>At the moment I have code that submits a form and deals with it internally on the same page... which I wish to keep. but I would like to get a copy of that form on another Page.php without having the user to submit the form twice... I realise there are multiple ways around communicating the information i.e via sessions but is there anyway to directly forward a form to another page... or send it to two pages/have two actions </p>
  
  <p>Current form:</p>
  
  <pre><code>&lt;form action="" method="post" style=""&gt;
  &lt;fieldset&gt;
      &lt;legend&gt;Login or Register&lt;/legend&gt;
  Username&lt;br&gt;&lt;input type="text" name="username" /&gt;&lt;br&gt;
  Password&lt;br&gt;&lt;input type="Password" name="password" /&gt;&lt;br&gt;
  &lt;input type="submit" value="log in" name="login"/&gt;
  &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>