PHP | Problem - Form Function
function formSubmit($data, $form)
{
$arr = array('hello world','hello earth');
$dos= new DataObjectSet();
foreach ($arr as $str)
{
$do= new DataObject();
$do->ImageName = $str;
$dos->push($do);
}
$result = $this->customise($dos)->renderWith('MyTemplate');
}