. */ use Util\Ini; include_once __DIR__.'/../../core.php'; function crea_form_componente($contenuto) { $fields = Ini::getFields($contenuto); $title = array_shift($fields); foreach ($fields as $key => $value) { $fields[$key] = '
'.$value.'
'; } echo $title.'
'.implode(PHP_EOL, $fields).'
'; }