I've created a php script which ends with <?php $form->end('Submit'); ?>
. But why does the button submit can't function and can't be clicked?
Someone can help me solve this problem?
<div class="campaigns 开发者_如何学Goform">
<?php $form->create('Campaign'); ?>
</fieldset>
<?php echo $form->end('Submit'); ?>
</div>
You're never actually starting the form tag, so the submit button is not inside a form, hence not clickable. You need to echo
this line:
$form->create('Campaign'); -> echo $form->create('Campaign');
精彩评论