2008-08-28から1日間の記事一覧
■CakePHPコード $options = array('male'=>'男','female'=>'女'); $attributes = array('value'=>'female');(CakePHP 1.1) echo $html->radio('Model/field',$options,null,$attributes); (CakePHP 1.2) echo $form->radio('model.field',$options,$attribut…