Reply to Re: How to get value from drop down box to e-mail with php

Your name:

Reply:


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,

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация