/home/wwwroot/qtnonfu/lib/db/mysql_driver.php[ 187 ]
182 }
183 public function getErrno() {
184 return ($this->_link) ? mysql_errno ( $this->_link ) : mysql_errno ();
185 }
186 public function halt($message = '', $sql = '') {
187 throw new keke_exception ( ':error [ :query ]', array ('msg'=>$message,':error' => mysql_error ( $this->_link ), ':query' => $sql ), mysql_errno ( $this->_link ) );
188 exit ();
189 }
190 public function special_filed(&$value) {
191 if ('*' == $value || false !== strpos ( $value, '(' ) || false !== strpos ( $value, '.' ) || false !== strpos ( $value, '`' )) {
192 } else {
-
/home/wwwroot/qtnonfu/zbzj/expert.php [ 18 ] » db_factory::get_one ( arguments )
0
string(46) "select * from keke_witkey_expert where uid='0'"
13 $gUid = $uid = intval ( $kekezu->_uid ); 14 $gUsername = $username = $kekezu->_username; 15 $messagecount = kekezu::getmessagecount($uid); 16 $gUserInfo = $user_info = $kekezu->_userinfo; 17 18 $extend_info = db_factory::get_one("select * from ".TABLEPRE."witkey_expert where uid='$uid'"); 19 // echo "<pre>"; 20 // print_r($extend_info);exit; 21 //会员分组信息 22 $group_obj = new Keke_witkey_member_group_class(); 23 $groupList = $group_obj->query_keke_witkey_member_group();
-
/home/wwwroot/qtnonfu/lib/db/db_factory.php [ 130 ] » keke_db->get_one ( arguments )
0
string(46) "select * from keke_witkey_expert where uid='0'"
125 } 126 public static function get_one($sql, $cache_time = 0) { 127 $db = self::init (); 128 if(IS_CACHE){ 129 $cache_time > 0||is_null($cache_time) and ($result = self::db_cache ( 1, $sql, $cache_time ) and $cached=1); 130 $result or ($result = self::$db_obj->get_one ( $sql) and $cached=0); 131 if($result&&$result!='QUERY_EMPTY'){ 132 !$cached&&self::db_set_cache ($sql, $cache_time, $result ); 133 return $result; 134 }else{ 135 !$cached&&self::db_set_cache ($sql, $cache_time, $result);
-
/home/wwwroot/qtnonfu/lib/db/db_factory.php [ 78 ] » mysql_drver->get_one_row ( arguments )
0
string(46) "select * from keke_witkey_expert where uid='0'"
73 } 74 public function getCount($sql, $row = 0, $filed = null) { 75 return $this->_mydb->getCount ( $sql, $row, $filed ); 76 } 77 public function get_one($sql) { 78 return $this->_mydb->get_one_row ( $sql ); 79 } 80 public function query($sql, $is_unbuffer = 0) { 81 return $this->_mydb->query ( $sql, $is_unbuffer ); 82 } 83 public function __destruct() {
-
/home/wwwroot/qtnonfu/lib/db/mysql_driver.php [ 72 ] » mysql_drver->execute_sql ( arguments )
0
string(46) "select * from keke_witkey_expert where uid='0'"
67 } 68 public function get_trans_num() { 69 return $this->_trans; 70 } 71 public function get_one_row($sql) { 72 $this->execute_sql ( $sql ); 73 $res = $this->fetch_array (); 74 $this->free_result (); 75 return $res; 76 } 77 public function insert_id($insertSql) {
-
/home/wwwroot/qtnonfu/lib/db/mysql_driver.php [ 153 ] » mysql_drver->halt ( arguments )
0
string(45) "Table 'qtnf.keke_witkey_expert' doesn't exist"
1
string(46) "select * from keke_witkey_expert where uid='0'"
148 } 149 protected function execute_sql($sql, $is_nubuffer = 0) { 150 ! is_resource ( $this->_link ) and $this->dbConnection (); 151 $is_nubuffer == 1 and $query_type = "mysql_unbuffered_query" or $query_type = "mysql_query"; 152 array_push($this->_query_sql, $sql); 153 $this->_last_query_id = $query_type ( $sql, $this->_link ) or $this->halt ( mysql_error (), $sql ); 154 $this->_query_num ++; 155 return $this->_last_query_id; 156 } 157 public function get_query_num() { 158 return $this->_query_num;