开发者

Why does my submit button not work in php?

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');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜