问题:数据一直添加不进数据库,麻烦管理回答下,谢谢
<!--头部-->
{include file="public:header" /}
<!--导航-->
{include file="public:nav" /}
<div class="row">
<!--分页-->
<div class="col-md-8">
<div class="page-header">
<h2>用户注册</h2>
</div>
<!--{include file="public:register_form" /}-->
<form class="form-horizontal" method="post" id="login">
<div class="form-group">
<label for="inputEmail1" class="col-sm-2 control-label">用户名:</label>
<div class="col-sm-10">
<input type="text" name="name" class="form-control" id="inputEmail1" placeholder="UserName">
</div>
</div>
<div class="form-group">
<label for="inputEmail2" class="col-sm-2 control-label">Email:</label>
<div class="col-sm-10">
<input type="text" name="email" class="form-control" id="inputEmail2" placeholder="Email">
</div>
</div>
打开浏览器控制 台 看AJAX返回什么