Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Programming Help > PHP Programming Help

PHP Programming Help Post any question relating to PHP Programming here and hopefully someone can help.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-01-03, 04:39 AM
Junior Member
 
Join Date: Apr 2006
Posts: 9
maciek4 is on a distinguished road
Default How to send form to assigned emails depending on chosen opti

Lets say I have 5 different options in my combo box (5 different languages)

English
German
Polish
Italian
Russian

when one choses English, I want the email to be sent to english@english.com
when one choses German, I want the email to be sent to german@german.com
etc

different otion chosen, different email address that the form is sent to. How to do that?

Code:
<td width=\"60%\"><select size=\"1\" name=\"language\">
          <option>English</option>
          <option>German</option>
          <option>Polish</option>
          <option>Italian</option>
          <option>Russian</option>
          <option selected>Choose...</option>
        </select></td>
Reply With Quote
  #2 (permalink)  
Old 2007-01-13, 01:27 PM
Member
 
Join Date: Jan 2007
Location: SPb, Russia
Posts: 30
powerdesign is on a distinguished road
Default

you should set the values to each <option value="i.e. 1,2,3 ... etc."> and then, in sctipt, depending of it's values select which email should be used.
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:25 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.