Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私の Web アプリケーションでは、デフォルト値を CHtml::textArea に設定したいと考えています。私からしてみれば、
<?php echo CHtml::textArea('answer' . $no, '', array('rows' => 6, 'cols' => 50, 'class' => "form-control",'value'=>$exam->answer)); ?>
しかし、これは機能していません。これどうやってするの?