Re: How to get value from drop down box to e-mail with php
- From: "Syl" <david.hunter@xxxxxxxxx>
- Date: 29 Jun 2006 18:38:23 -0700
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,
.
- Follow-Ups:
- Re: How to get value from drop down box to e-mail with php
- From: Kimmo Laine
- Re: How to get value from drop down box to e-mail with php
- From: kandi111777
- Re: How to get value from drop down box to e-mail with php
- References:
- How to get value from drop down box to e-mail with php
- From: kandi111777
- How to get value from drop down box to e-mail with php
- Prev by Date: How to get value from drop down box to e-mail with php
- Next by Date: Re: Session_Start() Hangs after setting Session_Id
- Previous by thread: How to get value from drop down box to e-mail with php
- Next by thread: Re: How to get value from drop down box to e-mail with php
- Index(es):
Relevant Pages
|