DESCRIBE yt_qssz
执行错误: Table 'qdm204983195_db.yt_qssz' doesn't exist

34.          $this->arrSql[] = $sql;
35.          if( $result mysqli_query($this->conn,$sql) ){
36.              return $result;
37.          }else{
38.              if(mysqli_error($this->conn)!=''){
39.                  syError("{$sql}<br />执行错误: " mysqli_error($this->conn));
40.              }else{
41.                  return TRUE;
42.              }
43.          }
44.      }
3.  class db_mysqli {
4.      public $conn;
5.      public $arrSql;
6.      public function getArray($sql)
7.      {
8.          if( ! $result $this->exec($sql) )return array();
9.          if( ! mysqli_num_rows($result) )return array();
10.          $rows = array();
11.          while($rows[] = mysqli_fetch_array($result,MYSQLI_ASSOC)){}
12.              mysqli_free_result($result);
13.          array_pop($rows);
48.          return mysqli_affected_rows($this->conn);
49.      }
50. 
51.      public function getTable($tbl_name)
52.      {
53.          return $this->getArray("DESCRIBE {$tbl_name}");
54.      }
55. 
56.      public function __construct($dbConfig)
57.      {
58.          $this->conn mysqli_connect($dbConfig['host'].":".$dbConfig['port'], $dbConfig['login'], $dbConfig['password']); 
208. 
209.  function syDB($tbl_name$pk null){
210.      $modelObj syClass("syModel");
211.      $modelObj->tbl_name = (TRUE == $GLOBALS['G_DY']["db_spdb_full_tblname"]) ? $tbl_name :    $GLOBALS['G_DY']['db']['prefix'] . $tbl_name;
212.      if( !$pk ){
213.          @list($pk) = $modelObj->_db->getTable($modelObj->tbl_name);$pk $pk['Field'];
214.      }
215.      $modelObj->pk $pk;
216.      return $modelObj;
217.  }
218. 
69.              $this->positions.='  &gt;  <a href="'.html_url('classtype',$d_pos).'">'.$v['classname'].'</a>';
70.          }
71. 
72.          //签收初始化
73.          $qssz_sql "SELECT * from `yt_qssz` where `tid`=".$this->article['tid']." order by id asc";
74.          $qssz_list=syDB("qssz")->findSql($qssz_sql);
75.          //去除已签收项
76.          $i=0;
77.          foreach($qssz_list as $v){
78.              $result=syDB('qianshou')->find('qsid='.$v['id'].' and aid='.$this->article['id']);
79.              if($result){
11.      $handle_controller syClass($__controllernull$GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
12.      if(!is_object($handle_controller) || !method_exists($handle_controller$__action)){
13.          syError('route Error');
14.          exit;
15.      }
16.      $handle_controller->$__action();
17.      if(FALSE != $GLOBALS['G_DY']['view']['auto_display']){
18.          $__tplname $__controller.$GLOBALS['G_DY']['view']['auto_display_sep'].
19.          $__action.$GLOBALS['G_DY']['view']['auto_display_suffix']; 
20.          $handle_controller->auto_display($__tplname);
21.      }
1.  <?php
2. 
3.  require("config.php");
4.  $yitongConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$yitongConfig['ext']['view_themes'];
5.  require(YITONG_PATH."/sys.php");
6.  spRun();