• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Mail script - Code for multiple selection

Mail script - Code for multiple selection 12 years 2 weeks ago #23395

I need use this script for multiple selection:
if($_POST['form']['fiel-name'][0] == 'option1')
$userEmail = ' email01@domain.com';
if($_POST['form']['fiel-name'][0] == 'option2')
$userEmail = ' email02@domain.com';
if($_POST['form']['fiel-name'][0] == 'option3')
$userEmail = ' email03@domain.com';

This code only works with a unique selection but I need multiple selection, per ex: option1+option2 or 1+2+3.....

what is wrong in the code???? Please help
Last Edit: 12 years 2 weeks ago by gustavo.vazquez.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!