"identificator_select1", "fieldValue" => "DOI", "fieldType" => "select", "inputType" => "text", "isSelected" => 1 ], [ "fieldId" => "identificatorinput1", "fieldValue" => "10.1000/190", "fieldType" => "input", "inputType" => "text", "isSelected" => 1 ], [ "fieldId" => "identificator_select2", "fieldValue" => "URN", "fieldType" => "select", "inputType" => "text", "isSelected" => 1 ], [ "fieldId" => "identificatorinput2", "fieldValue" => "urn:nbn:de:bvb:91-diss20060308-141754149", "fieldType" => "input", "inputType" => "text", "isSelected" => 1 ] ] ; */ // print_r($identificatorArray); $identificatorDataHTML = '

Identifikatoren

'; for ($c = 0; $c < count($identificatorArray); $c++) { $pid = $identificatorArray[$c]['fieldValue']; $c++; $content = $identificatorArray[$c]['fieldValue']; if (strcmp(trim($pid), trim($content)) == 0) continue; if ((strlen($pid) == 0) || (strlen($content) == 0)) continue; $identificatorDataHTML .= ' '; } $identificatorDataHTML .= '
Feldbezeichnung
Inhalt
' .$pid .' ' .$content .'
'; // echo $identificatorDataHTML; exit; ?>