title: All my forms submit to the same script
body: <p>I'm programming a webpage and in my index, I have two forms.</p>
  
  <p>The 1st is for the login: </p>
  
  <p><code>&lt;form method="post" action="login.php"&gt;...&lt;/form&gt;</code></p>
  
  <p>The 2nd is for search: </p>
  
  <p><code>&lt;form method="post" action="search.php"&gt;...&lt;/form&gt;</code></p>
  
  <p>My problem is that when I submit the search form, it works as if the <code>action</code> is targeting <code>login.php</code>. When I see the source code, the tag <code>&lt;form method="post" action="search.php"&gt;</code> doesn't appear.</p>