Sending Emails to selected employees
I have form where we choose employees (checkbox) & i want to send them a email when form is submitted.
i can share ftp details to take a look at codes.
Thru this we get employee id which is used to store in mysql.
<input name="Emp_<?php echo $RepeatSelectionCounter_2; ?>" type="checkbox" id="Emp_<?php echo $RepeatSelectionCounter_2; ?>" value="<?php echo $row_UsersMachines['ID']; ?>" />
Above hidden field contains Users 'ID' How to send them emails to selected checkboxes?