cakephp - how to fetch array value in textbox not working -


 echo $this->form->input($mydetails['mydetails']['specialties'] ,array("type"=>"textarea",'label' => false,'div' => false,'class'=>"umstyle5" )); 

here $mydetails['mydetails']['specialties'] have value text box shows empty

use 'value' attribute. first parameter of input function name of input not value

echo $this->form->input(     'mydetails.specialties' ,     array(         "type"=>"textarea",          'label' => false,         'div' => false,         'class'=>"umstyle5" ,          'value' => $mydetails['mydetails']['specialties']     ) ); 

Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -