title: Only one button working despite formaction
body: <p>I have a file.php that is echoing the contents of a html file. The solution to my problem seems to be to use formaction according to stackoverflow but for some reason I can't get it to work. 'Createuser' works but not 'shop'. I have tried with not having formaction on the 'shop' button as well since I already have action = shop but it doesn't work. What am I doing wrong?</p>
  
  <pre><code>&lt;form method="post" action="shop.php"&gt; 
        &lt;table&gt;
        &lt;p&gt;
          &lt;input type="submit" value="Sign in" name="sign_in" form method="post" formaction="shop.php"/&gt;
          &lt;input type="submit" value="Create user" name="create_user" formaction="createuser.php" /&gt;
          &lt;/table&gt;
        &lt;/p&gt;
      &lt;/form&gt;
  </code></pre>