Ben-David Golding "acemi professiona Başlangıçtan CakePHP'de" bir blog sitesi oluşturduk. Ben aşağıda listelenen Yorum görünümü var:
<div class="comments form">
<?php echo $form->create('Comment');?>
<fieldset>
<legend><?php __('Add Comment');?></legend>
<?php
echo $form->input('name');
echo $form->input('content');
echo $form->input('post_id');
?>
</fieldset>
<?php echo $form->end('Submit');?>
</div>
<div class="actions">
<ul>
<li><?php echo $html->link(__('List Comments', true), array('action' => 'index'));?></li>
<li><?php echo $html->link(__('List Posts', true), array('controller' => 'posts', 'action' => 'index')); ?> </li>
<li><?php echo $html->link(__('New Post', true), array('controller' => 'posts', 'action' => 'add')); ?> </li>
</ul>
</div>
The problem is after i press Submit the values remains in name and content fields. Can anybody help me?
Teşekkürler,