Пример #1
0
 /**
  * 原生查询
  */
 public function query($sql)
 {
     self::$sql = $sql;
     self::$sql = $this->check_sql(self::$sql);
     $result = mysql_query(self::$sql);
     error_log(self::$sql);
     return $result;
 }