'subjectinput1', 'fieldValue' => 'Schlagwort 1', 'fieldType' => 'input', 'inputType' => 'text', 'isSelected' => 1 ], [ 'fieldId' => 'subjectinput2', 'fieldValue' => 'Schlagwort 2', 'fieldType' => 'input', 'inputType' => 'text', 'isSelected' => 1 ], [ 'fieldId' => 'subjectinput3', 'fieldValue' => 'Schlagwort 3', 'fieldType' => 'input', 'inputType' => 'text', 'isSelected' => 1 ] ]; */ // print_r($subjectArray) ; exit; $subjectDataHTML = '

Freie Schlagworte

'; foreach ($bibliographicArray as $content) { switch ($content['fieldId']) { case 'subjectinput1': $i=1; case 'subjectinput2': $i=2; case 'subjectinput3': $i=3; case 'subjectinput4': $i=4; case 'subjectinput5': $i=5; case 'subjectinput6': $i=6; case 'subjectinput7': $i=7; case 'subjectinput8': $i=8; case 'subjectinput9': $i=9; if (strlen($content['fieldValue'])) { $bibliographicDataHTML .= ' '; } break; } } $subjectDataHTML .= '
Feldbezeichnung
Inhalt
Schlagwort ${i} ' .$content['fieldValue'] .'
';