通过php中的ajax在数据库中插入数据

时间:2015-10-05 15:24:56

标签: php ajax

我正在尝试通过Ajax插入数据

任何人都可以帮助我..我想在php中使用Ajax在数据库中插入数据

我的数据库中的表名为post,我的字段为register_idpost_datatime

 <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>

0 个答案:

没有答案