2010-10-31から1日間の記事一覧
データの渡し方で少し躓いたから、書いておく。index.ctp から、 add.cpt へフォームを使ってデータを渡す時、index.ctp では、Testのテーブルに値を入れるときに、 echo $form->create(null,array('type'=>'post','action'=>'./add')); echo $form->hidden(…
データの渡し方で少し躓いたから、書いておく。index.ctp から、 add.cpt へフォームを使ってデータを渡す時、index.ctp では、Testのテーブルに値を入れるときに、 echo $form->create(null,array('type'=>'post','action'=>'./add')); echo $form->hidden(…