Form not sending all fields

I made a PHP form and for some reason it doesn’t email the first two fields (name and email). You can find the form at http://www.aped.tv/survey.php. The code is exactly the same so I don’t know why it doesn’t work?

the error has to be in the php-code.

maybe u bundled the validation of the requiert fields with the adding the field to the email.

hope this helps, otherwise we need to see the php-code.

[code]

#intext { width: 105px; border: 1px solid #c0c0c0; font: normal 11px "lucida grande", tahoma, verdana, arial, sans-serif; padding: 3px; } #insend { width: 60px; background-color: #000000; border: 1px outset #c0c0c0; color: #FFF; font: normal 11px "lucida grande", tahoma, verdana, arial, sans-serif; } ape'd
  <tr>
    <td width="300"><span class="style6">Name [not required]:</span></td>
    <td width="294"><strong>
      <input name="name" type="text" id="name" />

    </strong></td>
  </tr>
  <tr>
    <td><span class="style6">Email [not required]:</span></td>
    <td><strong>
      <input name="email" type="text" id="email" />
    </strong></td>
  </tr>

  <tr>
    <td><span class="style6">What would you rate this party from 1-10?</span></td>
    <td><strong>
      <input name="rating" type="text" id="rating" />
    </strong></td>
  </tr>
  <tr>
    <td><span class="style6">What did you think about the time and location?</span></td>

    <td><strong><input name="timelocation" type="text" id="timelocation" />></textarea>
    </strong></td>
  </tr>
  <tr>
    <td><span class="style6">What did you think of Yung Joc's performance?</span></td>
    <td><strong>
      <input name="yungjoc" type="text" id="yungjoc" />
    </strong></td>

  </tr>
  <tr>
    <td><span class="style6">Did you like the hosts / announcers?</span></td>
    <td><span class="style1">
      <input name="host" type="text" id="host" />
    </span></td>
  </tr>
  <tr>

    <td><span class="style6">What did you think of the opening acts? Which did you like the best?</span></td>
    <td><span class="style1">
      <input name="opener" type="text" id="opener" />
    </span></td>
  </tr>
  <tr>
    <td><span class="style6">Please offer any comments and suggestions that would have improved this party.</span></td>
    <td><span class="style1">

      <input name="comments" type="text" id="comments" />
    </span></td>
  </tr>
  <tr>
    <td><span class="style6">Who or what would you like to see at the next party? Where would you like it to be held? All ideas are welcome.</span></td>
    <td><span class="style1">
      <input name="nextparty" type="text" id="nextparty" />
    </span></td>

  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><label>
      
      <div align="left"></div>
    </label></td>
  </tr>
  <tr>
    <td><span class="style6">WAS THIS THE BEST PARTY YOU'VE EVER BEEN TO IN YOUR LIFE????? If YES, what made it the best? If NO, what WOULD have made it the best?</span></td>

    <td><span class="style1">
      <input name="bestparty" type="text" id="bestparty" />
    </span></td>
  </tr>

  <tr>
    <td>&nbsp;</td>
    <td>          <input type="submit" name="Submit" value="Submit" />        </td>
  </tr>

</table>
<br />
<label></label>
[/code]

i need the php-code, not the html-source

Sponsor our Newsletter | Privacy Policy | Terms of Service