0
我使用cakephp 2.3.1並試圖用formhelper創建一個表單。formhelper cakephp不工作
這是我addStudent.ctp:
<?php
$this->Form->create("Test");
$this->Form->input("stuId",array('class'=>'inputField', 'placeholder'=>'SVxxxxxxxx'));
$this->Form->input("stuName",array('class'=>'inputField', 'name'=>'stuName'));
$this->Form->input('submit',array('type'=>'submit'));
$this->Form->end();
?>
我已經添加的:var $ =助手陣列( '表');在AppController中。 但它什麼都沒有顯示?這裏有什麼問題:(