title: Simple form not sending data via _POST
body: <p>Wow, so this is embarrassing. This is just supposed to be another boring web form. I have done plenty before, but for some reason this specific one doesn't want to cooperate. Am I somehow missing something? I have been trying to figure this out for hours. I swear I have tried troubleshooting everything, without any luck.</p>
  
  <p>Basically, I am attempting to send via $_POST to a PHP file. Eventually I will use AJAX, but right now I can't even get the stupid thing to POST. So when you click submit, it goes to the correct page. But i get an error "Undefined Index (then points to the line that I call my $_POST variable). I have commented out everything on the PHP side (signup1.php) so that now all it does is <code>var_dump($_POST);</code> so I can see the data and it isnt getting anything from _POST, the stupid thing is empty. I really think the problem is on the HTML side. I will post my code exactly. It has a ton of extra divs for styling and layout purposes. I am going to keep all of that in there just in case that is the cause of the error, maybe one of you will know. Also, you may notice I am using bootstrap. Maybe that is something? I have used bootstrap for forms before and its worked, but who knows.</p>
  
  <pre><code>&lt;form action="actions/signup1.php" method="post"&gt;
          &lt;div class="row"&gt;
              &lt;div class="col-md-6"&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label for="name"&gt;Name:&lt;/label&gt;
                      &lt;input type="text" id="name" class="form-control" placeholder="John Smith"&gt;
                  &lt;/div&gt;
              &lt;/div&gt; &lt;!-- end of name input column --&gt;
              &lt;div class="col-md-6"&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label for="phone"&gt;Phone Number:&lt;/label&gt;
                      &lt;input type="text" id="phone" class="form-control" placeholder="801-321-9876"&gt;
                  &lt;/div&gt; 
              &lt;/div&gt; &lt;!-- end of phone number input column --&gt;
          &lt;/div&gt; &lt;!-- end of first .row of inputs --&gt;
  
          &lt;div class="row"&gt;
              &lt;div class="col-md-6 column-sm-12"&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label for="email"&gt;Email Address:&lt;/label&gt;
                      &lt;input type="text" id="email" class="form-control" placeholder="johnsmith@me.com"&gt;
                  &lt;/div&gt;
              &lt;/div&gt; &lt;!-- end of email address input column --&gt;
  
              &lt;div class="col-md-3 col-sm-6"&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label for="city"&gt;City:&lt;/label&gt;
                      &lt;select id="city" class="form-control"&gt;
                          &lt;option&gt;Las Vegas&lt;/option&gt;
                          &lt;option&gt;Salt Lake City&lt;/option&gt;
                          &lt;option&gt;I'll Choose a Default Later...&lt;/option&gt;
                      &lt;/select&gt;
                  &lt;/div&gt;
              &lt;/div&gt; &lt;!-- end of city dropdown --&gt;
  
              &lt;div class="col-md-3 col-sm-6"&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label for="type-of-phone"&gt;Type of Phone:&lt;/label&gt;
                      &lt;select id="type-of-phone" class="form-control"&gt;
                          &lt;option&gt;iPhone&lt;/option&gt;
                          &lt;option&gt;Android&lt;/option&gt;
                          &lt;option&gt;Windows Phone&lt;/option&gt;
                          &lt;option&gt;Blackberry&lt;/option&gt;
                          &lt;option&gt;Other Cellphone&lt;/option&gt;
                          &lt;option&gt;Landline&lt;/option&gt;
                      &lt;/select&gt;
                  &lt;/div&gt;
              &lt;/div&gt; &lt;!-- end of Smartphone Question Dropdown --&gt;
          &lt;/div&gt; &lt;!-- end of second .row of inputs --&gt;
          &lt;div class="row"&gt;
              &lt;div class="col-md-12"&gt;&lt;input type="submit" value="Submit"&gt;&lt;/div&gt;
          &lt;/div&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>If anyone has any idea please let me know. I am pulling my hair out. I figured I would be up all night with problems having it querying the database, or messing with the AJAX to make it polished, but instead I can't even get past the form submitting the RAW data! Very frustrating. I hope someone out there can see the issue.</p>
  
  <p>For the record this is my exactmessage after the form redirects to the signup1.php (yes it goes to the right page). On the PHP all i do is a Var_dump of the whole $_POST variable.</p>
  
  <pre><code>var_dump($_POST);
  </code></pre>
  
  <p>And it shows me this:</p>
  
  <pre><code>array(0) { } 
  </code></pre>