📄 update.inc.php
字号:
function keyword($field, $value)
{
$r = $this->db->get_one("SELECT `$field` FROM `".DB_PRE."content` WHERE `contentid`=$this->contentid");
$value = $r[$field];
$this->db->query("DELETE FROM `".DB_PRE."content_tag` WHERE `contentid`=$this->contentid");
$keywords = explode(' ', $value);
foreach($keywords as $tag)
{
$tag = addslashes(trim($tag));
if($tag) $this->db->query("INSERT INTO `".DB_PRE."content_tag` (`tag`,`contentid`) VALUES('$tag','$this->contentid')");
}
if(function_exists('cache_keyword')) cache_keyword();
return true;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -