mysql如何删除一条记录在dede_archives表中有以下一条记录,因为有敏感关键词(cheng人网),网站空间禁止显示。
id title …
12 cheng人网游戏 …我想删除这条记录,或者将这条记录中的“cheng人网”改为“人人网”,mysql语句怎么写?另外,最好用的mysql手册 chm 是哪个?
在php中常见到的 (int)$var 或者其他的给函数加(),是什么意思?
id title …
12 cheng人网游戏 …我想删除这条记录,或者将这条记录中的“cheng人网”改为“人人网”,mysql语句怎么写?另外,最好用的mysql手册 chm 是哪个?
在php中常见到的 (int)$var 或者其他的给函数加(),是什么意思?
delete from dede_archives where title like '%cheng人网%';或者将这条记录中的“cheng人网”改为“人人网”,mysql语句怎么写?
update dede_archives set title=replace(title,'cheng人网','人人网') where title like '%cheng人网%';另外,最好用的mysql手册 chm 是哪个?
MySQL官方文档 http://dev.mysql.com/doc/refman/5.1/zh/index.html在php中常见到的 (int)$var 或者其他的给函数加(),是什么意思?
这个问题,建议你到PHP版去问询。 建议多少先学习一下PHP的基础知识。