title: Submitting multiple inputs in one form?
body: <p>I'm currently trying to create a webpage where you can submit multiple inputs within a single form with one button. 
  This is the code:</p>
  
  <pre><code>&lt;form id="additem" name="item" action="add_item.php" method="get"&gt;Item Name:
      &lt;input type="text" name="name"&gt;
      &lt;br&gt;
      &lt;br&gt;Amount:
      &lt;input type="text" name="amount"&gt;
      &lt;br&gt;
      &lt;br&gt;Description:
      &lt;input size=1 00 type="text" name="desc"&gt;
      &lt;br&gt;
      &lt;br&gt;
      &lt;select&gt;
          &lt;option value="picture"&gt;Picture&lt;/option&gt;
          &lt;option value="sculpture"&gt;Sculpture&lt;/option&gt;
          &lt;option value="painting"&gt;Painting&lt;/option&gt;
          &lt;option value="quilt"&gt;Quilt&lt;/option&gt;
          &lt;option value="clothing"&gt;Clothing&lt;/option&gt;
          &lt;option value="Pottery"&gt;Pottery&lt;/option&gt;
      &lt;/select&gt;
      &lt;br&gt;
      &lt;br&gt;
      &lt;?php session_start(); if(isset($_SESSION[ 'upload_pic'])==t rue){ echo
      "&lt;img src =".$_SESSION[ 'upload_pic']. "&gt;&lt;br&gt;"; unset($_SESSION[ 'upload_pic']); }
      ?&gt;
      &lt;form action="upload_file.php" method="post"&gt;Image:
          &lt;br&gt;
          &lt;label for="file"&gt;Filename:&lt;/label&gt;
          &lt;input type="file" name="file" id="file"&gt;
          &lt;br&gt;
          &lt;input type="submit" name="submit" value="Upload"&gt;
      &lt;/form&gt;
      &lt;br&gt;
      &lt;br&gt;
      &lt;input type="submit" name="add" value="Add"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Currently when I click the "Add" button, it does nothing, doesn't load, doesn't refresh. And I'm not sure why. If anyone has any suggestions about why that happens, that would be awesome.</p>