Home > php教程 > php手册 > body text

php配合jquery实现增删操作

WBOY
Release: 2016-06-13 10:17:50
Original
780 people have browsed it

后台使用php,前台引用jquery,实现增删操作,代码如下:

  
  ("Content-type: text/html; charset=utf-8"         
 ("set charaset set utf-8" =@["message" =@["shanchu" ="PHP基础练习" =("localhost","root","" 
 mysql_set_charset('utf-8', ("dbl", 
 ="select `message` ,`time`,`id` from message order by id desc limit 0,30" 
 =(, =('Y-m-d h:i:s', 
 
 =();
  ((["submits" (!["message"]== =("insert into message (message,time) values('%s','%s')", 
 ['message'], (,      (["message"]==  ""  ("Location:http://localhost/table.php"  
 ((["ClearTd"]) && (['ClearTd' ="delete from message where id=".['ClearTd'     (, ("Location:http://localhost/table.php"  ?> 
 
 
Copy after login

 

 

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!