<?php
echo form_open('email/sent');
echo form_label('Name');
echo form_input('name');
echo "<br>";
echo form_label('From');
echo form_input('from');
echo "<br>";
echo form_label('Subject');
echo form_input('subject');
echo "<br>";
echo form_label('Message');
$data = array(
'name' => 'textarea',
'rows' => $,
'cols' => 32
);
echo form_textarea($data);
echo "<br>";
echo form_submit('submit','Sent email');
echo form_close();
?>
答案 0 :(得分:0)
$data = array(
'name' => 'textarea',
'rows' => '',
'cols' => 32
);
为行提供一些值。那应该是一个带有值或静态值的变量。