我正在尝试通过Ajax插入数据
任何人都可以帮助我..我想在php中使用Ajax在数据库中插入数据
我的数据库中的表名为post
,我的字段为register_id
,post_data
,time
<form class="form center-block" method="post" action="actionpost.php">
<textarea class="form-control input-lg" name="post_data" autfofocus placeholder="What do you want to share?"></textarea>
<button name="submit" >Post</button>
</form>