when i submit a form i get just the names of the form elements.
eg.
<form action="backend.php" method="POST">
<input type="text" name="password" value="password" />
<input type="submit" name="loginform" value="submit" />
</form>
here i will get $_POST[‘password’] and $_POST[‘loginform’] in the backend.php.
so what do they mean with the $_POST[LoginForm’] in the documentation:
foreach($_POST[‘LoginForm’] as $name=>$value)
{
if($name is a safe attribute)
$model->$name=$value;
}
it seems to be an array, but i dont get where its coming from in the html form.