HLJ 发布于
2018-12-26 09:19:27

PHP增删改查语句

PHP增删改查语句

新增:

mysql_query("insert into table (FirstName, LastName, Age) values ('Peter', 'Griffin', '35')");

删除:

mysql_query("delete from table where id=1");

修改:

mysql_query("update table set Age = '36' where id=1");

查询:

mysql_query("select * from table");
当前文章内容为原创转载请注明出处:http://www.good1230.com/detail/2018-12-26/311.html
最后生成于 2024-05-23 22:50:07
此内容有帮助 ?
0