UPDATE albums SET hits = 1439 WHERE id = '2383'
执行错误: Query execution was interrupted

57.      {
58.          $this->arrSql[] = $sql;
59.          if( $result mysql_query($sql$this->conn) ){
60.              return $result;
61.          }else{
62.              spError("{$sql}<br />执行错误: " mysql_error());
63.          }
64.      }
65.      
66.      /**
67.       返回影响行数
296.              $value $this->escape($value);
297.              $vals[] = "{$key} = {$value}";
298.          }
299.          $values join(", ",$vals);
300.          $sql "UPDATE {$this->tbl_name} SET {$values} {$where}";
301.          return $this->_db->exec($sql);
302.      }
303.      
304.      /**
305.       替换数据,根据条件替换存在的记录,如记录不存在,则将条件与替换数据相加并新增一条记录。
306.       
98.            $Item_cate $libObj->find($conditions);
99.             
100.            require("include/init_data.php"); //初始化数据
101.            
102.            $conditions_news = array('id' =>$Item_appdata['id']);
103.            $albumsObj->update($conditions_news,array('hits'=>$Item_appdata['hits']+1));
104. 
105.            /* start_expand */
106.            $expand_name "照片集内容前台内容显示";
107.            $file "albums_showdata";
108.            $expand_explain "暂无";
16.      if(!is_object($handle_controller) || !method_exists($handle_controller$__action)){
17.          eval($GLOBALS['G_SP']["dispatcher_error"]);
18.          exit;
19.      }
20.      // 路由并执行用户代码
21.      $handle_controller->$__action();
22.      // 控制器程序运行完毕,进行模板的自动输出
23.      if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
24.          $__tplname $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
25.                  $__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼装模板路径
26.          $handle_controller->auto_display($__tplname);
53.          ),
54.       )
55.  );
56.  require(SP_PATH."/SpeedPHP.php");
57.  import(APP_PATH.'/controller/tplbasis.php'); // 需要先载入top控制器父类
58.  spRun();