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

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

php - Redirect and hide target URL -