Home  >  Article  >  Backend Development  >  DEDECMS的一段求解释,该如何处理

DEDECMS的一段求解释,该如何处理

WBOY
WBOYOriginal
2016-06-13 11:10:21846browse

DEDECMS的一段求解释
if(count($_SESSION['bigfile_info']) > 0)
{
foreach ($_SESSION['bigfile_info'] as $k => $v)
{
if(!empty($v))
{
$pictitle = ${'picinfook'.$k};
$titleSet = '';
if(!empty($pictitle))
{
$picTitle = TRUE;
$titleSet = ",title='{$pictitle}'";
}
$dsql->ExecuteNoneQuery("UPDATE `#@__uploads` SET arcid='{$arcID}'{$titleSet} WHERE url LIKE '{$v}'; ");
}
}
}

这里ExecuteNoneQuery("UPDATE `#@__uploads` SET arcid='{$arcID}'{$titleSet} WHERE url LIKE '{$v}'; ");    arcid='{$arcID}'{$titleSet}这句什么意思啊?


------解决方案--------------------
 arcid='{$arcID}'---> 更新arcid的值为$arcID

{$titleSet}----->$titleSet = ",title='{$pictitle}'";---->更新title的值为$pictitle
Statement:
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