$this->data
이 비어있는 양식 도우미에 문제가 있습니다. 이전에는 제 폼에서 아무런 문제가 없었으며 여기서 어떤 차이점이 있는지 파악할 수 없었습니다. 이 양식에는 데이터를 포함하는 모델이 없으며 검색을 수행하기위한 사용자 입력 만 가능합니다. 그냥하지 double 배열을 배열 할
<?php
echo $this->Form->create();
echo $this->Form->input('Postleitzahl');
$options=array('10'=>10,'20'=>20);
echo $this->Form->input('Entfernung',array('type'=> 'select' , 'options'=>array(($options))));
echo $this->Form->end('Suchen');
?>
또한 당신의 행동에있어 확실한'debug ($ this-> data)'를 수행 하시겠습니까? – Ross
아마 $ this-> params에서 직접 사용할 수 있습니까? – Henri