阅读背景:

使用php通过ajax和jquery删除MySQL数据,显示没有删除数据的页面

来源:互联网 

I have this link (shown below). When it is clicked it sends the id of a post to a PHP file called delete_post.php which in turn deletes the post with that id out of my MySQL database. This works great except that after the post is deleted the post is still displayed on the page until it is refreshed. How could I make it so the post is removed from my page as soon as I click the link, rather than after I click the link and after I refresh the page.I have this link (shown below). When it is clic




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: