Posted by Syl on 06/30/06 01:38
kandi111777 wrote:
> I have a form that includes a drop down box. I can get all of the other
> values to show up in an e-mail except for the drop down box values. Can
> someone please help? -- I know the HTML isn't the greatest. The website
> was originally created in FrontPage and the form broke. I'm just trying
> to help out and fix it for a friend.
>
> sendmail.php
> $Subject = $_REQUEST['subject'];
> <td width="88" align="right"><select name="Subject" size="1">
> <option selected>Web Site</option>
> <option>Company</option>
> <option>Products</option>
> <option>Store</option>
> <option>Employee</option>
> <option>(Other)</option>
> </select> </td>
You're missing a value in the option of the drop down
Change all the options like this --> <option>Company</option>
to this --> <option value="company">Company</option>
to this --> <option value="employee">Employee</option>
etc, etc,
Navigation:
[Reply to this message]
|