SELECT * FROM sp_goodscat WHERE id= ORDER BY id LIMIT 1
执行错误: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY id LIMIT 1' at line 1


Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54
57.      {
58.          $this->arrSql[] = $sql;
59.          if( $result mysqli_query($this->conn$sql) ){
60.              return $result;
61.          }else{
62.              spError("{$sql}<br />执行错误: " mysqli_error($this->conn));
63.          }
64.      }
65.      
66.      /**
67.       返回影响行数

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54
21.       
22.       * @param sql  执行的SQL语句
23.       */
24.      public function getArray($sql)
25.      {
26.          if( ! $result $this->exec($sql) )return array();
27.          if( ! mysqli_num_rows($result) )return array();
28.          $rows = array();
29.          while($rows[] = mysqli_fetch_array($resultMYSQLI_ASSOC)){}
30.          mysqli_free_result($result);
31.          array_pop($rows);

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54
98.          }else{
99.              $sort "ORDER BY {$this->pk}";
100.          }
101.          $sql "SELECT {$fields} FROM {$this->tbl_name} {$where} {$sort}";
102.          if(null != $limit)$sql $this->_db->setlimit($sql$limit);
103.          return $this->_db->getArray($sql);
104.      }
105.      /**
106.       过滤转义字符
107.       *
108.       * @param value 需要进行过滤的值

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54
60.       * @param sort    排序,等同于“ORDER BY ”
61.       * @param fields    返回的字段范围,默认为返回全部字段的值
62.       */
63.      public function find($conditions null$sort null$fields null)
64.      {
65.          if( $record $this->findAll($conditions$sort$fields1) ){
66.              return array_pop($record);
67.          }else{
68.              return FALSE;
69.          }
70.      }

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54
571.           
572. 
573. 
574.          $models=spClass("goods_list")->findAll("bigcode='".$goods['code']."' "'sort_id asc');
575.          $this->catename spClass('goods_cat')->find('id='.$goods['pid']);
576.          $this->catename2 spClass('goods_cat')->find('id='.$this->catename['pid']);
577.          $this->catename3 spClass('goods_cat')->find('id='.$this->catename2['pid']);
578.          $relativetrim($goods['relative']);
579.          $goods['code'] = trim($goods['code']);
580.          $rel=$detail['rel']=array_filter(explode(",",$relative));
581.          if(count($rel) < 1){

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54
36. 
37.      }
38. 
39.      // 路由并执行用户代码
40. 
41.      $handle_controller->$__action();
42. 
43.      // 控制器程序运行完毕,进行模板的自动输出
44. 
45.      if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
46. 

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54

Deprecated: Function ereg() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 51

Deprecated: Function ereg_replace() is deprecated in /home/promojet/public_html/SpeedPHP/Misc/notice.php on line 54
13.  $spConfig['controller_path'] = APP_PATH.'/controller/';
14. 
15.  // 载入SpeedPHP框架
16.  require(SP_PATH."/SpeedPHP.php");
17. 
18.  spRun(); // SpeedPHP 3新特性