17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 721 Views |
-
show result of a form

11 November 2008 at 5:42am
Hi!
I create a form taht take name, typology and category. I want show in my page the value of form, after push submit. How can do this? My function don't run.function BrowserPollResults() {
$submissions = DataObject::get('BrowserPollSubmission');$doSet = new DataObjectSet();
foreach($submissions) {$record = array(
'name' => $name,
'tipology' => $tipology' ,
'category' => $category);
$doSet->push(new ArrayData($record));
}
return $doSet;
}
| 721 Views | ||
|
Page:
1
|
Go to Top |

