Codeigniter 3 textarea
setup a $data array instead with all the options
$data = array( 'name' => 'vc_desc', 'id' => 'vc_desc', 'value' => set_value('vc_desc'), 'rows' => '50', 'cols' => '10', 'style' => 'width:50%', 'class' => 'form-control' ); echo form_textarea($data);
Use rows and cols to get change the height and length of text area in code ignitor. $data = array('name' => 'SupAddress','value' =>set_value('SupAddress'), 'id'=>'SupAddress', 'class' => 'form-control' ,'readonly' => 'true' ,'rows' => '3', 'cols' => '40'); echo Form_textarea($data);