<form action='http://site.ru/testpost.php' method='POST'>
<select name='test[xx]'>
<option value='1'>1
<option value='2'>2
</select>
<select name='test[yy]'>
<option value='1'>1
<option value='2'>2
</select>
<input type='submit'>
</form>
<?php
print_r($_POST);
?>
Array ( [test] => Array ( [xx] => 1 [yy] => 1 ) )
$dataform = new DataForm($userRepository);
$dataform->addField(new Input("email"),"E-mail",["reiured","email"]);
$dataform->addField(new PasswordInput("password"),"Пароль",["reiured"]);
$dataform->addField(new Submit("submit"),"Сохранить");
echo $dataform->render();
$book = new Book();
$book->fromArray(array(
'Title' => 'War And Peace',
'AuthorId' => 35,
));
$book->save();
оно тоже должно каждую секунду обращаться к серверу.