What is the way (if exists) to have an array (it means that all fields
share the name with [] at the end) of hidden or text form elements ?
I want something like
<form>
<input name="id[]" value="1" />
<input name="id[]" value="2" />
...
</form>
... whats the way ?
if I use the same name each element is replaced in the stack ...
$elem->setIsArray(true) add [] at the end but each elem is replaced by
the next with same name .. (only the last will be rendered)
so how ?
Bye and tnx in advance
S.
没有评论:
发表评论