Hello Everyone.
I have make Form with use of set_value('Name'); in codeigniter
but In Input type Textarea not given value.
Code:
<?php
$last_goals = '';
if($this->session->userdata('user_from') == 'log') //After login value come From db
{
$last_goals = $getdesired[0]->ds_goals;
}
else
{
$last_goals = set_value('career_goals'); // without login this value come
}
$data = array('id'=>'id_career_goals',
'name'=>'career_goals',
'cols'=>'40',
'rows'=>'10',
'value'=>$last_goals);
echo form_textarea($data);
?>
Any can suggest me what wrong with me.
Thank you.