Nyx*_*nyx 3 html php forms codeigniter
请参阅http://codeigniter.com/user_guide/helpers/form_helper.html上的Codeigniter用户指南,我似乎无法弄清楚如何使用CI的表单助手设置表单的"名称"属性.只能通过传入一个数组来设置'id'.可以设置表单的'name'而不将数组传递给form_open()函数吗?
你可以使用这种方法
$attributes = array('name' => 'myform');
echo form_open('email/send', $attributes);
Run Code Online (Sandbox Code Playgroud)