내보기 코드는 여기에 ... 컨트롤러에 대한 코드는 무엇입니까, plz 누구든지 설명 할 수 있습니다.cakephp에서 라디오 버튼을 선택한 후 값을 제출하는 방법은 무엇입니까?
<td><?php $attributes = array();
$options = array($question['Question']['opt1']);
echo $this->Form->radio($i, $options, $attributes);?> </td>
<td><?php $attributes = array();
$options = array($question['Question']['opt2']);
echo $this->Form->radio($i, $options, $attributes);?> </td>
<td><?php $attributes = array();
$options = array($question['Question']['opt3']);
echo $this->Form->radio($i, $options, $attributes);?> </td>
<td><?php $attributes = array();
$options = array($question['Question']['opt4']);
echo $this->Form->radio($i, $options, $attributes);?> </td>
</tr>
<?php endforeach; ?>
<td><?php echo $this->Form->end(__('Submit'),array('controller'=>'question')); ?></td>
시작 도움 희망); }'그리고 거기에서 가라. – AD7six