PHPCMS表单部分设置
<form action="{APP_PATH}index.php?m=formguide&c=index&a=show&formid=12&action=js&siteid=1" style="display:flex;lex-direction:row;justify-content: space-evenly; flex-wrap:wrap;" method="POST">
<div class="kuang">
<h5>姓名<span>*</span></h5>
<input type="text" value="" id="name" name="info[name]">
</div>
<div class="kuang">
<h5>电话<span>*</span></h5>
<input type="text" value="" id="phone" name="info[phone]">
</div>
<div class="kuang">
<h5>留言<span>*</span></h5>
<input type="text" value="" style="width:1127px;" >
</div>
<div class="kuang">
<input type="submit" value="立即提交" name="dosubmit" id="dosubmit" style="width:1127px;font-size:24px;background:#31b573;color:#fff">
</div>
</form>
后台表单需添加name,phone,liuyan三个字段