$val) { ${$var} = $val; } $form = new Form('fg-element', 'horizontal'); $form->addHtml('

' . $value . '

'); echo $form->html;