I have this array of values:
$col_names = array(
'Call For?' => 'assigned_to',
'Message' => 'message',
'Name' => 'caller_name',
'Company Name' => 'caller_company',
'Telephone' => 'caller_telephone'
);
I then use an in_array function to check if a value is in the above array:
if(in_array(trim(tdrows($node->childNodes)), $col_names)) {
I want to check the first value in the array, for example check Call For? rather than assigned_to
how can i do this?