$ksqls = array();
if($this->StartTime > 0)
{
$ksqls = " arc.senddate>'".$this->StartTime."' ";
}
if($this->TypeID > 0)
{
$ksqls[] = " typeid in (".GetSonIds($this->TypeID).") ";
}
if($this->ChannelType > 0)
{
$ksqls[] = " arc.channel='".$this->ChannelType."'";
}
$ksqls[] = " arc.arcrank > -1 ";
有如上代码,starttime赋值为正数的时候执行到$ksqls[] = " typeid in (".GetSonIds($this->TypeID).") ";这里出错,注释掉该语句,执行到$ksqls[] = " arc.channel='".$this->ChannelType."'";也出错%……
错误信息形如
Fatal error: [] operator not supported for strings in D:\webroot\xypk\wwwroot\ include\arc.searchview.class.php on line 296急啊