Combine 2 or 3 fields
Posted: 2015-07-13 06:57
Hi and thanks in advance for any help.
i 'm using this code
to combine some fields.
The problem is that clientID, devicecompany, devicetype are lookup fields and so i get the id instead of the value.
I'm not good with php )trying to learn), can someone please tell how i can do it ?
thank you all again.
i 'm using this code
Code: Select all
$data['machineid'] = ($data['clientID'] . " - " . $data['devicecompany'] . " - " . $data['devicetype'] . " - " . $data['mainserialnumber']) ;
The problem is that clientID, devicecompany, devicetype are lookup fields and so i get the id instead of the value.
I'm not good with php )trying to learn), can someone please tell how i can do it ?
thank you all again.