我在Cake php中有這個代碼,但它會產生一串標籤以及我不喜歡的輸入。我怎樣才能擺脫它們?我只是想輸入。如何避免輸入標籤
echo $this->Form->hidden('user_role', array('value'=> '2'));
echo $this->Form->input('user_username');
echo $this->Form->input('user_password', array('type' => 'password'));
echo $this->Form->input('user_fname');
echo $this->Form->input('user_lname');
echo $this->Form->input('user_email');
echo $this->Form->input('user_phone');
echo $this->Form->input('user_cellphone');
echo $this->Form->input('user_address1');
echo $this->Form->input('user_address2');
echo $this->Form->input('user_city');
echo $this->Form->input('user_zip');
echo $this->Form->end('Submit');
謝謝
您是否嘗試過諮詢[手冊](http://book.cakephp.org/view/1390/Automagic-Form-Elements)? – deceze