ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

sending form to a specific e-mail address

kade119 19 Feb, 2008
how would i have my form send to a specific e-mail address according to what select option they choose?

i tried this



echo  "
<form  name='mailForm'  method='post'  action='mailsend.php'  enctype='text/plain'>
<select  name='me'  size='1'>
<option  value='webmaster'>Web  Master</option>
<option  value='admin'>Admin</option>
</select>
<input  type='submit'>
</form>
</body>
</html> 
";  
$mailto  =  $_POST['me'];

if($mailto  ==  'webmaster')
{
    $email  =  "one@one.com";
}elseif($mailto  ==  'admin'){
    $email  =  "two@two.com";
}; 
Max_admin 20 Feb, 2008
Hi,

do you have Joomla and ChronoForms ? did you try the test forms ?

Cheers,

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com