title: this.form.submit(); submit all form
body: <p>This probably a simple answer but I can't seems to understand the logic here.</p>
  
  <p>I have multiple form in the same page and I use this structure on most of them:</p>
  
  <pre><code>&lt;form name="" action="../charmodif/charinfo.php?charname=&lt;?php echo $name ?&gt;" method="post"&gt;
      &lt;input onblur="this.form.submit();" type="text" name="actualxp" value="&lt;?php echo $infochar['actualxp']; ?&gt;"&gt;
  &lt;form&gt;
  </code></pre>
  
  <p>The main part of my php processing file:
      $charname = $_GET['charname'];</p>
  
  <pre><code>foreach (array_keys($_POST) as $field)
  {
      mysqli_query($conn,"
      UPDATE `character`
      SET `" . $field . "`='" . $_POST[$field] . "'
      WHERE name='" . $charname . "';
      ");
  }
  </code></pre>
  
  <p>The problem I have is that it actually seems to submit all form in the page at the same time. It result in my php function to process the MySQL for every form at the same time.</p>
  
  <p>I verified this using simple echo with the POST in the php action.</p>
  
  <p>It seems to me that the bigger is the page, the longer it's going to take to process the data. It's mainly for performance than anything else since it's actually working very well anyway.</p>
  
  <p>How can I have this simple form submit it for itself only? Any idea?</p>
  
  <p>Thanks,</p>