I have a dropdown that is being populated by a database read [read_data3] that is pulling two fields. When the person selects the option they want, only one field [EMPId] is making it to the array. I need "FullName" to make it too as I want to output the name on an email that is sent out after the form runs. I will still need the key to be EMPid as it is used is some custom sql/php that outputs a table onto the email. Does that make sense?
Thank you for any help!
Array ( [read_data3] => Array ( [log] => Array ( [0] => SELECT `Data3`.`EMPId` AS `Data3.EMPId`, `Data3`.`FullName` AS `Data3.FullName` FROM `tblemployee` AS `Data3` ORDER BY `Data3.FullName` ASC LIMIT 1000; ) [var] => Array ( [1] => Abels, Julie [1090] => Abreu, Maria [79] => Abril, Manuel A.
I need another item here that displays the "FullName" then I should be able to output it on the email that is triggered after the form.
Array ( [option] => com_chronoforms6 [cont] => manager [chronoform] => trigger-summary [event] => submit [employee] => 228 [button6] => )