Don't use the Html->tag method to make inputs. It won't do it
correctly, as it wasn't intended for this. Use the FormHelper, its
much better at building input tags.
-Mark
On Oct 4, 6:20 am, Adael wrote:
> Hi all, in HtmlHelper::tag() (line 728) we found this code:
>
> if ($text === null) {
>
Hi all, in HtmlHelper::tag() (line 728) we found this code:
if ($text === null) {
$tag = 'tagstart';
} else {
$tag = 'tag';
}
So, if you do the call
echo $html->tag('input', 'name', 'value');
It's output: name
I except:
Other way:
echo $html->tag('input', 'name', arra